-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Setup basic versioned docs #896
Conversation
Codecov Report
@@ Coverage Diff @@
## master #896 +/- ##
=======================================
Coverage 71.64% 71.64%
=======================================
Files 30 30
Lines 2409 2409
=======================================
Hits 1726 1726
Misses 577 577
Partials 106 106 Continue to review full report at Codecov.
|
🕙 PR timeout! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like that 👍 🙂
I have a suggestion. How about we use good old godoc for the library? That would be consistent and would allow for auto-generated and would allow for playground-style runnable examples. We can always generate a README.md from the godoc. Example link: https://go.ajitem.com/pkg/go.ajitem.com/stack/ |
@asahasrabuddhe can you create an issue about godoc? This PR isn't quite the place to have the conversation. |
Motivation
My proposal for v2 release cycle requires there be versioned docs (see #826). These was also a recent issue where people discussed versioned documentation (see #877).
Context and Future Work
This isn't "true" versioned documentation, not yet at least. In the future I would like to consider mkdocs, docsify, docusaurus or similar, as mentioned in this comment #877 (comment). This specific PR is focused only on setting up a
v1
andv2
folder so that #892 won't have to deal with merge conflicts. Judge this PR by that parameter, eg, does this PR help make #892 easier?Changes
docs
folderdocs
folder. the code of conduct has not been moved because (I think) github looks for it in the root directory (I'll explore this more in the future)docs/v1/manual.md
docs/v2/
, with a.keep
file (this pattern is commonly used with rails projects)