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

docs: sphinx reference doc index generation #853

Merged
merged 2 commits into from
Nov 16, 2023

Conversation

didrocks
Copy link
Member

Run a pre-hook to create index file in policy reference.
To be able to list the whole policy reference definition, we needs index file for each category.
Create them on the fly, listing the reference policies generated in the reference destination directory, before generating the finale documentation.


UDENG-1450

didrocks and others added 2 commits November 16, 2023 07:58
To be able to list the whole policy reference definition, we needs index
file for each category.
Create them on the fly, listing the reference policies generated in the
reference destination directory, before generating the finale
documentation.

Co-authored-by: Jean-Baptiste Lallement <jean-baptiste@ubuntu.com>
With make run, listening to any file changes in the destination
directory, the script generating the index files will rerun everytime,
creating a new event, rerunning the generation and so on.
Exclude then any index files under those known subdirectories.
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (26199a4) 86.10% compared to head (88103ff) 86.10%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #853   +/-   ##
=======================================
  Coverage   86.10%   86.10%           
=======================================
  Files          76       76           
  Lines        8599     8599           
=======================================
  Hits         7404     7404           
  Misses        866      866           
  Partials      329      329           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@didrocks didrocks marked this pull request as ready for review November 16, 2023 07:39
@didrocks didrocks requested a review from a team as a code owner November 16, 2023 07:39
@didrocks didrocks requested a review from jibel November 16, 2023 07:39
Copy link
Collaborator

@jibel jibel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@didrocks didrocks merged commit 26c712b into main Nov 16, 2023
6 checks passed
@didrocks didrocks deleted the sphinx-reference-doc-generation branch November 16, 2023 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants