File tree Expand file tree Collapse file tree 4 files changed +22
-10
lines changed
{{cookiecutter.project_name}} Expand file tree Collapse file tree 4 files changed +22
-10
lines changed Original file line number Diff line number Diff line change 11---
2- title : ' Next step: readthedocs '
2+ title : ' Next step: Read the Docs '
33---
44
5- Readthedocs instructions.
5+ Your Python package should have publicly available documentation, including API documentation for your users.
6+ [ Read the Docs] ( https://readthedocs.org ) can host your user documentation for you.
7+
8+ To host the documentation of this repository please perform the following instructions:
9+
10+ 1 . go to [ Read the Docs] ( https://readthedocs.org/dashboard/import/? )
11+ 1 . log in with your GitHub account
12+ 1 . find ` {{ cookiecutter.github_organization }}/{{ cookiecutter.project_name }} ` in list and press ` + ` button.
13+ * If repository is not listed,
14+ 1 . go to [ Read the Docs GitHub app] ( https://github.com/settings/connections/applications/fae83c942bc1d89609e2 )
15+ 2 . make sure {{ cookiecutter.github_organization }} has been granted access.
16+ 3 . reload repository list on Read the Docs import page
17+ 1 . wait for the first build to be completed at <https://readthedocs.org/projects/{{ cookiecutter.project_name }}/builds>
18+ 1 . check that the link of the documentation badge in the [ README.md] ({{ cookiecutter.repository }}) works
19+
20+ See [ README.dev.md#] ( {{cookiecutter.repository}}/blob/main/README.dev.md#generating-the-api-docs ) how to build documentation site locally.
Original file line number Diff line number Diff line change 4545 echo 'Created issues that must be completed to have fully working Python package:
4646 * Sonarcloud integration ${{ steps.sonarcloud.outputs.url }}
4747 * Zenodo integration ${{ steps.zenodo.outputs.url }}
48- * Readthedocs instructions ${{ steps.readthedocs.outputs.url }}
48+ * Read the Docs instructions ${{ steps.readthedocs.outputs.url }}
4949 * Citation data ${{ steps.citation.outputs.url }}
5050 * Linting fixes ${{ steps.linting.outputs.url }}'
5151 - name : Cleanup files needed to create next steps issues
Original file line number Diff line number Diff line change 99| (3/5) community registry | [ ![ RSD] ( https://img.shields.io/badge/rsd-{{cookiecutter.project_name}}-00a3e3.svg )] ( https://www.research-software.nl/software/{{cookiecutter.project_name}} ) [ ![ workflow pypi badge] ( https://img.shields.io/pypi/v/{{cookiecutter.project_name}}.svg?colorB=blue )] ( https://pypi.python.org/project/{{cookiecutter.project_name}}/ ) |
1010| (4/5) citation | [ ![ DOI] ( https://zenodo.org/badge/DOI/<replace-with-created-DOI>.svg )] ( https://doi.org/<replace-with-created-DOI> ) |
1111| (5/5) checklist | [ ![ workflow cii badge] ( https://bestpractices.coreinfrastructure.org/projects/<replace-with-created-project-identifier>/badge )] ( https://bestpractices.coreinfrastructure.org/projects/<replace-with-created-project-identifier> ) |
12- | howfairis | [ ![ fair-software badge] ( https://img.shields.io/badge/fair--software.eu-%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8B-yellow )] ( https://fair-software.eu ) |
12+ | howfairis | [ ![ fair-software badge] ( https://img.shields.io/badge/fair--software.eu-%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8B-yellow )] ( https://fair-software.eu ) |
1313| ** Other best practices** |   ; |
14- | Static analysis | [ ![ workflow scq badge] ( https://sonarcloud.io/api/project_badges/measure?project={{cookiecutter.github_organization}}_{{cookiecutter.project_name}}&metric=alert_status )] ( https://sonarcloud.io/dashboard?id={{cookiecutter.github_organization}}_{{cookiecutter.project_name}} ) |
15- | Coverage | [ ![ workflow scc badge] ( https://sonarcloud.io/api/project_badges/measure?project={{cookiecutter.github_organization}}_{{cookiecutter.project_name}}&metric=coverage )] ( https://sonarcloud.io/dashboard?id={{cookiecutter.github_organization}}_{{cookiecutter.project_name}} ) |
14+ | Static analysis | [ ![ workflow scq badge] ( https://sonarcloud.io/api/project_badges/measure?project={{cookiecutter.github_organization}}_{{cookiecutter.project_name}}&metric=alert_status )] ( https://sonarcloud.io/dashboard?id={{cookiecutter.github_organization}}_{{cookiecutter.project_name}} ) |
15+ | Coverage | [ ![ workflow scc badge] ( https://sonarcloud.io/api/project_badges/measure?project={{cookiecutter.github_organization}}_{{cookiecutter.project_name}}&metric=coverage )] ( https://sonarcloud.io/dashboard?id={{cookiecutter.github_organization}}_{{cookiecutter.project_name}} ) |
16+ | Documentation | [ ![ Documentation Status] ( https://readthedocs.org/projects/{{cookiecutter.project_name}}/badge/?version=latest )] ( https://{{cookiecutter.project_name}}.readthedocs.io/en/latest/?badge=latest ) |
1617| ** GitHub Actions** |   ; |
1718| Build | [ ![ build] ( {{cookiecutter.repository}}/actions/workflows/build.yml/badge.svg )] ( {{cookiecutter.repository}}/actions/workflows/build.yml ) |
1819| Metadata consistency | [ ![ cffconvert] ( {{cookiecutter.repository}}/actions/workflows/cffconvert.yml/badge.svg )] ( {{cookiecutter.repository}}/actions/workflows/cffconvert.yml ) |
Original file line number Diff line number Diff line change @@ -58,10 +58,6 @@ help you decide which tool to use for packaging.
5858 - [ Google style docstring examples] ( http://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html ) .
5959- The documentation is set up with the ReadTheDocs Sphinx theme.
6060 - Check out its [ configuration options] ( https://sphinx-rtd-theme.readthedocs.io/en/latest/ ) .
61- - To generate HTML documentation, run ` make html ` in the ` docs/ ` folder.
62- - To put the documentation on [ ReadTheDocs] ( https://readthedocs.org ) , log in to your ReadTheDocs account, and import
63- the repository (under 'My Projects').
64- - Include the link to the documentation in your project's [ README.md] ( README.md ) .
6561- [ Relevant section in the guide] ( https://guide.esciencecenter.nl/#/best_practices/language_guides/python?id=writingdocumentation )
6662
6763## Coding style conventions and code quality
You can’t perform that action at this time.
0 commit comments