Skip to content

Commit 3670308

Browse files
committed
Prepare release v0.1.0
1 parent 60254bf commit 3670308

4 files changed

Lines changed: 46 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Changelog
2+
3+
## [Version 0.1.0](https://github.com/ewels/nf-docs/releases/tag/v0.1.0) - 2026-02-20
4+
5+
Initial release of `nf-docs`.
6+
7+
### Added
8+
9+
- `nf-docs generate` command to extract and render pipeline documentation in HTML, JSON, YAML, and
10+
Markdown formats
11+
- `nf-docs inspect` command for a dry-run summary of what nf-docs finds in a pipeline
12+
- `nf-docs download-lsp` and `nf-docs clear-cache` utility commands
13+
- Extraction of pipeline inputs from `nextflow_schema.json` and config parameters from
14+
`nextflow.config`
15+
- Process, workflow, and function documentation via the Nextflow Language Server (LSP), including
16+
Groovydoc docstrings and typed I/O declarations
17+
- nf-core `meta.yml` support for enriched module and subworkflow documentation
18+
- Git-aware source code deep links for GitHub, GitLab, and Bitbucket
19+
- XDG-compliant caching keyed by content hash and package version, with automatic invalidation
20+
- User config file at `~/.config/nf-docs/config.yaml` for persistent defaults

docs/index.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,18 @@ Python or Javadoc for Java.
3030

3131
One file per section — integrates with static site generators like MkDocs or Zensical.
3232

33-
- :material-code-json:{ .lg .middle } __JSON / YAML__
33+
- :material-code-json:{ .lg .middle } __JSON__
3434

3535
---
3636

3737
Machine-readable structured data for CI/CD pipelines and custom integrations.
3838

39+
- :material-code-yaml:{ .lg .middle } __YAML__
40+
41+
---
42+
43+
Human and machine-readable structured data for CI/CD pipelines and custom integrations.
44+
3945
</div>
4046

4147
<!-- prettier-ignore-end -->

docs/running.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,25 @@ nf-docs inspect /path/to/pipeline
3434

3535
# Pre-download the Language Server JAR
3636
nf-docs download-lsp
37+
38+
# Clear the extraction cache for a specific pipeline
39+
nf-docs clear-cache /path/to/pipeline
40+
41+
# Clear the entire extraction cache
42+
nf-docs clear-cache --all
3743
```
3844

45+
## Caching
46+
47+
nf-docs caches extraction results to avoid re-running the Language Server on every invocation.
48+
Cached data is stored in `~/.cache/nf-docs/` (respects `$XDG_CACHE_HOME`).
49+
50+
The cache is keyed by pipeline path, a SHA-256 hash of all pipeline source files, and the nf-docs
51+
version, so it is automatically invalidated whenever files change or nf-docs is upgraded.
52+
53+
Use `--no-cache` to skip the cache for a single run, or `nf-docs clear-cache` to remove entries
54+
manually.
55+
3956
## Output formats
4057

4158
### HTML

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ nf-docs = "nf_docs.cli:main"
5959
nf-docs-tailwind = "nf_docs.tailwind:main"
6060

6161
[project.urls]
62-
Homepage = "https://github.com/ewels/nf-docs"
63-
Documentation = "https://github.com/ewels/nf-docs#readme"
62+
Homepage = "https://ewels.github.io/nf-docs/"
63+
Documentation = "https://ewels.github.io/nf-docs/"
6464
Repository = "https://github.com/ewels/nf-docs"
6565
Issues = "https://github.com/ewels/nf-docs/issues"
6666

0 commit comments

Comments
 (0)