-
Notifications
You must be signed in to change notification settings - Fork 6k
chore(docs): add README to the docs #3582
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
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3582 +/- ##
=======================================
Coverage 59.21% 59.21%
=======================================
Files 35 35
Lines 1709 1709
Branches 379 379
=======================================
Hits 1012 1012
Misses 559 559
Partials 138 138 Continue to review full report at Codecov.
|
We're working on the security fix so you can ignore the audit-ci failure. For additional context, we're adding this because Bruno is working on deploying the code-server docs to a site and we need a Markdown file to render fo the home page. We'll most like change this later! |
I had an idea. @BrunoQuaresma instead of adding this file to |
Does it have to be duplicated, couldn't the README just be moved to the 'docs/' folder since according to this:
Although that may decrease the intuitiveness/simplicity of the repository and thus be a bad idea. |
Thanks @JammSpread I didn't know about this one. I will try that. |
The badge can be a problem for what we are trying to achieve with these changes - have a doc site for code-server docs. I'm wondering if makes sense we have something similar to what react-query does on their repo: https://github.com/tannerlinsley/react-query. @jsjoeio @JammSpread thoughts? |
Sorry @BrunoQuaresma - a bit dense this morning. What am I looking at in react-query's repo? I see their badges in the README. Or do you mean how the I do like what @JammSpread suggested. If GitHub surfaces the |
Yes, I was talking about that.
Me too, but I faced some issues trying to load the badge images with our current markdown parser and I was not able to solve 😞. Because of that, I think the first option can be a good approach for now. We can have a README on root with the badges and a brief summary, and a docs/README.md with a more complete introduction. What do you think? |
I think that could work. As long as we add a short blurb like "look in |
Would it be better if the badges were listed using HTML instead of markdown? We have options. See https://shields.io/ |
I would be much more in favor of doing one of these options:
Reasoning being:
|
I would also be in favor of a slimmed down ./README.md in favor of a larger one here. Not a fan of the duplication, but if necessary, we can go that route. |
@BrunoQuaresma anything you need from us to help you move this forward? |
We will likely be able to render the root-level README (with shields, if we want). So we will likely not need a second README in |
@jsjoeio What are your thoughts on moving the readme as suggested above? This would reduce the complexity for the docs site |
Thanks for the test repo. Seems fine to me too! I'll see if @code-asher or @oxy want to weigh in |
I opened up a new PR to move the README. I will close this one, when we get that merged to no break the code-server docs build. |
I see #3663 has been merged. Does that mean we should close this @BrunoQuaresma? |
@jsjoeio yes, doing it right now. |
No description provided.