-
-
Notifications
You must be signed in to change notification settings - Fork 728
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
Implement autogeneration of Documentation/README.md #1738
Conversation
Absolutely do not want any commits from workflows. However I would love one that fails a workflow if this is not up to date. Otherwise love the idea of the automation. |
Implemented & tested locally. Now on run
|
And that's how it looks with error message here. |
What kind of change does this PR introduce?
Function
docs_readme
indeploy.sh
to generateREADME.md
forDocumentation/
based on nav section fromReadTheDocs
yml config.What is the current behavior?
When a user opens
Documentation/
directory though github interface, there is only listing of files becauseREADME.md
is missing & not populated.What is the new behavior (if this is a feature change)?
Auto-generated
README.md
with preserved structure of online documentation for those who is too impatient to click another link and just want to surf through documents using built-in github interface (or let's say github.io subdomain is not available for some reasons, etc.)Other information:
Basically the function automagically with a help of sed takes
nav
section and converts it intoMarkdown
-compatible README preserving style & structure & adding the headers.It's more like Proof-of-Concept but it seems it's "production" ready for actively development branch. There is also a temptation to add into
.github/workflows/docs.yml
something like:but:
README.md
update can be just run manually.What do you think?