https://github.com/compas-dev/compas-actions.docs
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 2 committers (50.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.8%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: compas-dev
- Default Branch: main
- Size: 15.6 KB
Statistics
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
compas-actions.docs
Introduction
The compas-actions.docs GitHub action is designed for building documentation for COMPAS or its plugins. It facilitates documentation generation, including handling various dependencies and publishing the docs.
Usage
To use this action in your workflow, add it to your .yml file with the necessary inputs. It's a composite action that includes multiple steps like installing dependencies, setting up a virtual display, and deploying documentation.
yaml
steps:
- uses: your-repo/compas-actions.docs@v3
with:
doc_url: <URL of your docs site>
github_token: ${{ secrets.GITHUB_TOKEN }}
# Other optional inputs
Inputs
doc_url: URL of the docs site. (required)github_token: GitHub token for publishing docs. (required)test_docs: Whether to test docstrings in this action. (default: 'true')python: Python version to build docs with. (default: "3.10")use_conda: Whether to build docs with conda. (default: "false")use_virtual_display: Use virtual display on Linux when matplotlib is imported. (default: "false")use_latex: Install dependencies for LaTex. (default: "false")
Outputs
commit_type: Type of the commit - main, pull, or tag.current_version: Version number if the commit is a tag.subfolder: Subfolder name where the docs are built.
Examples
Here's an example of integrating compas-actions.docs into a GitHub workflow:
```yaml name: docs
on: push: branches: - main tags: - 'v*' pull_request: branches: - main
jobs: docs: runs-on: ubuntu-latest steps: - uses: compas-dev/compas-actions.docs@v3 with: githubtoken: ${{ secrets.GITHUBTOKEN }} doc_url: https://compas.dev/compas ```
If your plugin involves C++ extensions and can only be built in certain OS, you can use the use_conda input to build the docs with conda on that specific system. Here's an example:
```yaml name: docs
on: push: branches: - main tags: - 'v*' pull_request: branches: - main
jobs: docs: runs-on: windows-latest steps: - uses: compas-dev/compas-actions.docs@v3 with: githubtoken: ${{ secrets.GITHUBTOKEN }} useconda: true docurl: https://compas.dev/compas_cgal ```
Owner
- Name: compas-dev
- Login: compas-dev
- Kind: organization
- Website: https://compas.dev
- Repositories: 45
- Profile: https://github.com/compas-dev
COMPAS - an open source computational framework for research and collaboration in AEC
GitHub Events
Total
Last Year
Committers
Last synced: 12 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Licini | l****0@g****m | 40 |
| Gonzalo Casas | c****s@a****h | 2 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 12 months ago
All Time
- Total issues: 0
- Total pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: 1 day
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 1.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- gonzalocasas (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 0
- Total dependent repositories: 18
- Total versions: 24
github actions: compas-dev/compas-actions.docs
Build docs for COMPAS or its plugins
- Status: removed
-
Latest release: v4.0.1
published almost 2 years ago
Rankings
Dependencies
- actions/checkout v3 composite
- compas-dev/compas-actions.build v2 composite
- compas-dev/compas-actions.docversions v2 composite
- crazy-max/ghaction-github-pages v2 composite