-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1245 from ErikDanielsson/use-myst
Adapt docs to MyST
- Loading branch information
Showing
40 changed files
with
157 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
docs/api/_src/api/bump_version.rst → docs/api/_src/api/bump_version.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
nf_core.bump_version | ||
==================== | ||
# nf_core.bump_version | ||
|
||
```{eval-rst} | ||
.. automodule:: nf_core.bump_version | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
nf_core.create | ||
============== | ||
# nf_core.create | ||
|
||
```{eval-rst} | ||
.. automodule:: nf_core.create | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: | ||
``` |
5 changes: 3 additions & 2 deletions
5
docs/api/_src/api/download.rst → docs/api/_src/api/download.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
nf_core.download | ||
================ | ||
# nf_core.download | ||
|
||
```{eval-rst} | ||
.. automodule:: nf_core.download | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# API Reference | ||
|
||
```{toctree} | ||
:caption: 'Tests:' | ||
:glob: true | ||
:maxdepth: 2 | ||
* | ||
``` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
nf_core.launch | ||
============== | ||
# nf_core.launch | ||
|
||
```{eval-rst} | ||
.. automodule:: nf_core.launch | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: | ||
``` |
5 changes: 3 additions & 2 deletions
5
docs/api/_src/api/licences.rst → docs/api/_src/api/licences.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
nf_core.licences | ||
================ | ||
# nf_core.licences | ||
|
||
```{eval-rst} | ||
.. automodule:: nf_core.licences | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
nf_core.lint | ||
============ | ||
# nf_core.lint | ||
|
||
.. seealso:: See the `Lint Tests <../lint_tests/index.html>`_ docs for information about specific linting functions. | ||
:::{seealso} | ||
See the [Lint Tests](../lint_tests/index.html) docs for information about specific linting functions. | ||
::: | ||
|
||
```{eval-rst} | ||
.. automodule:: nf_core.lint | ||
:members: run_linting | ||
:undoc-members: | ||
:show-inheritance: | ||
``` | ||
|
||
```{eval-rst} | ||
.. autoclass:: nf_core.lint.PipelineLint | ||
:members: _lint_pipeline | ||
:private-members: _print_results, _get_results_md, _save_json_results, _wrap_quotes, _strip_ansi_codes | ||
:show-inheritance: | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
nf_core.list | ||
============ | ||
# nf_core.list | ||
|
||
```{eval-rst} | ||
.. automodule:: nf_core.list | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
nf_core.modules | ||
=============== | ||
# nf_core.modules | ||
|
||
```{eval-rst} | ||
.. automodule:: nf_core.modules | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
nf_core.schema | ||
============== | ||
# nf_core.schema | ||
|
||
```{eval-rst} | ||
.. automodule:: nf_core.schema | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
nf_core.sync | ||
============== | ||
# nf_core.sync | ||
|
||
```{eval-rst} | ||
.. automodule:: nf_core.sync | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
nf_core.utils | ||
============= | ||
# nf_core.utils | ||
|
||
```{eval-rst} | ||
.. automodule:: nf_core.utils | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# nf-core/tools documentation | ||
|
||
```{toctree} | ||
:caption: 'Contents:' | ||
:glob: true | ||
:hidden: true | ||
:maxdepth: 2 | ||
pipeline_lint_tests/index.rst | ||
module_lint_tests/index.rst | ||
api/index.rst | ||
``` | ||
|
||
This documentation is for the `nf-core/tools` package. | ||
|
||
Primarily, it describes the different [code lint tests](lint_tests/index.html) | ||
run by `nf-core lint` (typically visited by a developer when their pipeline fails a given | ||
test), and also reference for the `nf_core` [Python package API](api/index.html). | ||
|
||
## Indices and tables | ||
|
||
- {ref}`genindex` | ||
- {ref}`modindex` | ||
- {ref}`search` |
This file was deleted.
Oops, something went wrong.
5 changes: 3 additions & 2 deletions
5
...peline_lint_tests/actions_awsfulltest.rst → ...ipeline_lint_tests/actions_awsfulltest.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
actions_awsfulltest | ||
=================== | ||
# actions_awsfulltest | ||
|
||
```{eval-rst} | ||
.. automethod:: nf_core.lint.PipelineLint.actions_awsfulltest | ||
``` |
5 changes: 3 additions & 2 deletions
5
...c/pipeline_lint_tests/actions_awstest.rst → ...rc/pipeline_lint_tests/actions_awstest.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
actions_awstest | ||
=============== | ||
# actions_awstest | ||
|
||
```{eval-rst} | ||
.. automethod:: nf_core.lint.PipelineLint.actions_awstest | ||
``` |
5 changes: 3 additions & 2 deletions
5
...i/_src/pipeline_lint_tests/actions_ci.rst → ...pi/_src/pipeline_lint_tests/actions_ci.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
actions_ci | ||
========== | ||
# actions_ci | ||
|
||
```{eval-rst} | ||
.. automethod:: nf_core.lint.PipelineLint.actions_ci | ||
``` |
5 changes: 3 additions & 2 deletions
5
..._lint_tests/actions_schema_validation.rst → ...e_lint_tests/actions_schema_validation.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
actions_schema_validation | ||
========================= | ||
# actions_schema_validation | ||
|
||
```{eval-rst} | ||
.. automethod:: nf_core.lint.PipelineLint.actions_schema_validation | ||
``` |
6 changes: 3 additions & 3 deletions
6
.../_src/pipeline_lint_tests/files_exist.rst → ...i/_src/pipeline_lint_tests/files_exist.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
files_exist | ||
=========== | ||
# files_exist | ||
|
||
```{eval-rst} | ||
.. automethod:: nf_core.lint.PipelineLint.files_exist | ||
|
||
``` |
5 changes: 3 additions & 2 deletions
5
...c/pipeline_lint_tests/files_unchanged.rst → ...rc/pipeline_lint_tests/files_unchanged.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
files_unchanged | ||
=============== | ||
# files_unchanged | ||
|
||
```{eval-rst} | ||
.. automethod:: nf_core.lint.PipelineLint.files_unchanged | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Pipline lint tests | ||
|
||
```{toctree} | ||
:caption: 'Tests:' | ||
:glob: true | ||
:maxdepth: 2 | ||
* | ||
``` |
This file was deleted.
Oops, something went wrong.
5 changes: 3 additions & 2 deletions
5
...src/pipeline_lint_tests/merge_markers.rst → ..._src/pipeline_lint_tests/merge_markers.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
merge_markers | ||
============== | ||
# merge_markers | ||
|
||
```{eval-rst} | ||
.. automethod:: nf_core.lint.PipelineLint.merge_markers | ||
``` |
5 changes: 3 additions & 2 deletions
5
..._src/pipeline_lint_tests/modules_json.rst → .../_src/pipeline_lint_tests/modules_json.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
nextflow_config | ||
=============== | ||
# nextflow_config | ||
|
||
```{eval-rst} | ||
.. automethod:: nf_core.lint.PipelineLint.modules_json | ||
``` |
5 changes: 3 additions & 2 deletions
5
...c/pipeline_lint_tests/nextflow_config.rst → ...rc/pipeline_lint_tests/nextflow_config.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
nextflow_config | ||
=============== | ||
# nextflow_config | ||
|
||
```{eval-rst} | ||
.. automethod:: nf_core.lint.PipelineLint.nextflow_config | ||
``` |
5 changes: 3 additions & 2 deletions
5
..._lint_tests/pipeline_name_conventions.rst → ...e_lint_tests/pipeline_name_conventions.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
pipeline_name_conventions | ||
========================= | ||
# pipeline_name_conventions | ||
|
||
```{eval-rst} | ||
.. automethod:: nf_core.lint.PipelineLint.pipeline_name_conventions | ||
``` |
5 changes: 3 additions & 2 deletions
5
...rc/pipeline_lint_tests/pipeline_todos.rst → ...src/pipeline_lint_tests/pipeline_todos.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
pipeline_todos | ||
============== | ||
# pipeline_todos | ||
|
||
```{eval-rst} | ||
.. automethod:: nf_core.lint.PipelineLint.pipeline_todos | ||
``` |
5 changes: 3 additions & 2 deletions
5
docs/api/_src/pipeline_lint_tests/readme.rst → docs/api/_src/pipeline_lint_tests/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
readme | ||
====== | ||
# readme | ||
|
||
```{eval-rst} | ||
.. automethod:: nf_core.lint.PipelineLint.readme | ||
``` |
5 changes: 3 additions & 2 deletions
5
...ipeline_lint_tests/schema_description.rst → ...pipeline_lint_tests/schema_description.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
schema_description | ||
=========== | ||
# schema_description | ||
|
||
```{eval-rst} | ||
.. automethod:: nf_core.lint.PipelineLint.schema_description | ||
``` |
5 changes: 3 additions & 2 deletions
5
.../_src/pipeline_lint_tests/schema_lint.rst → ...i/_src/pipeline_lint_tests/schema_lint.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
schema_lint | ||
=========== | ||
# schema_lint | ||
|
||
```{eval-rst} | ||
.. automethod:: nf_core.lint.PipelineLint.schema_lint | ||
``` |
5 changes: 3 additions & 2 deletions
5
...src/pipeline_lint_tests/schema_params.rst → ..._src/pipeline_lint_tests/schema_params.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
schema_params | ||
============= | ||
# schema_params | ||
|
||
```{eval-rst} | ||
.. automethod:: nf_core.lint.PipelineLint.schema_params | ||
``` |
5 changes: 3 additions & 2 deletions
5
.../pipeline_lint_tests/template_strings.rst → ...c/pipeline_lint_tests/template_strings.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
template_strings | ||
================ | ||
# template_strings | ||
|
||
```{eval-rst} | ||
.. automethod:: nf_core.lint.PipelineLint.template_strings | ||
``` |
Oops, something went wrong.