Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add creation of index-page for gh-pages in CI #160

Merged
merged 2 commits into from
Aug 30, 2023
Merged

Add creation of index-page for gh-pages in CI #160

merged 2 commits into from
Aug 30, 2023

Conversation

dalito
Copy link
Member

@dalito dalito commented Aug 30, 2023

When the command voc4cat docs is run in CI, an index.html with all vocabularies and versions is created in outdir (only for pyLODE docs which is the default style). The index-file will be placed at the root of gh-pages if the nfdi4cat/voc4cat-template is used as basis for the vocabulary repository.

Closes #153

The html is similar to what pylode2 generates. The same styles are used.
The added pytest-plugin "pytest-subprocess" is used to mock calling
git with subprocess.
@dalito dalito added this to the 0.7.4 milestone Aug 30, 2023
@dalito dalito added the enhancement Request for changing or improving existing features label Aug 30, 2023
@dalito dalito merged commit bac6461 into main Aug 30, 2023
3 checks passed
@dalito dalito deleted the issue153 branch August 30, 2023 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Request for changing or improving existing features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add script to create an index page for voc4cat-template
1 participant