Skip to content

Commit

Permalink
Add specfile docs (#805)
Browse files Browse the repository at this point in the history
Merge after packit/specfile#343.
  • Loading branch information
nforro authored Jan 12, 2024
2 parents 169ab0c + 91b30ed commit 021502d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
types:
- deployment-docs-updated
- research-docs-updated
- specfile-docs-updated

jobs:
deploy:
Expand Down
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,11 @@ import:
git clone https://github.com/packit/research.git .research-docs
mv .research-docs/research research

# specfile
([[ -d .specfile-docs ]] && rm -rf .specfile-docs specfile) || true
git clone https://github.com/packit/specfile.git .specfile-docs
pip3 install pydoc-markdown
$(MAKE) -C .specfile-docs generate-api-docs
mv .specfile-docs/docs specfile

.PHONY: run-dev import
5 changes: 5 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ const developmentSections = [
"Research",
"https://github.com/packit/research/tree/main",
),
new Section(
"specfile",
"specfile library",
"https://github.com/packit/specfile/tree/main/docs",
),
];

const sections = [
Expand Down

0 comments on commit 021502d

Please sign in to comment.