Generate API documentation for Nextflow pipelines by querying the Nextflow Language Server
Project description
nf-docs
Generate beautiful API documentation for Nextflow pipelines
Choose from 3 different output formats:
HTML
|
Markdown
|
JSON / YAML
|
What is nf-docs?
[!INFO] This is not an official Nextflow project. It's a fun side-project by Phil Ewels. Please use at your own risk :)
Information is pulled from multiple sources to construct the docs (each only if available):
- README.md - Pipeline overview and description
- nextflow.config - Runtime configuration defaults
- nextflow_schema.json - Typed input parameters with descriptions and validation rules
- Language Server - Processes, workflows, functions with their Groovydoc comments
- meta.yml - nf-core module metadata (tools, keywords, authors)
The documentation for workflows, processes and functions is relatively unique. nf-docs extracts
this from your Nextflow pipelines by querying the
Nextflow Language Server. It produces structured
API documentation similar to Sphinx for Python or Javadoc for Java.
Examples and docs
See https://ewels.github.io/nf-docs
Quick Start
With uv:
uvx nf-docs generate ./my_pipeline
With pip:
# Install
pip install nf-docs
# Generate HTML documentation
nf-docs generate ./my_pipeline
That's it! Open docs/index.html in your browser.
Development
See CONTRIBUTING.md for development setup, testing, and contribution guidelines.
License
Apache 2.0 - see LICENSE for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nf_docs-0.1.0.tar.gz.
File metadata
- Download URL: nf_docs-0.1.0.tar.gz
- Upload date:
- Size: 71.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ab83eaa6d766034f634842e2dc1deb1fce2e2e04b2082e928e0fccfd9415260
|
|
| MD5 |
f65f6c312fbb497769258b833ee10a13
|
|
| BLAKE2b-256 |
add9ba6644f2fff992c195c359e4b4fbc49f7b4f806bfd341480b05df5aac1d8
|
Provenance
The following attestation bundles were made for nf_docs-0.1.0.tar.gz:
Publisher:
publish.yml on ewels/nf-docs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nf_docs-0.1.0.tar.gz -
Subject digest:
2ab83eaa6d766034f634842e2dc1deb1fce2e2e04b2082e928e0fccfd9415260 - Sigstore transparency entry: 974685044
- Sigstore integration time:
-
Permalink:
ewels/nf-docs@36703088a5ef8c20738e21bf21073a687eb513be -
Branch / Tag:
- Owner: https://github.com/ewels
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@36703088a5ef8c20738e21bf21073a687eb513be -
Trigger Event:
release
-
Statement type:
File details
Details for the file nf_docs-0.1.0-py3-none-any.whl.
File metadata
- Download URL: nf_docs-0.1.0-py3-none-any.whl
- Upload date:
- Size: 68.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1e7ecd9cbc01d4751feff03d5b669b44c4f9c4370e961070d07b3b740b714b5
|
|
| MD5 |
b5c01d82d098f807d2215eae16f9fc13
|
|
| BLAKE2b-256 |
d2ce4f46e68c438076b96f5fe8971407f5af92e2392254f241420da78269ef77
|
Provenance
The following attestation bundles were made for nf_docs-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on ewels/nf-docs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nf_docs-0.1.0-py3-none-any.whl -
Subject digest:
f1e7ecd9cbc01d4751feff03d5b669b44c4f9c4370e961070d07b3b740b714b5 - Sigstore transparency entry: 974685066
- Sigstore integration time:
-
Permalink:
ewels/nf-docs@36703088a5ef8c20738e21bf21073a687eb513be -
Branch / Tag:
- Owner: https://github.com/ewels
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@36703088a5ef8c20738e21bf21073a687eb513be -
Trigger Event:
release
-
Statement type: