-
Notifications
You must be signed in to change notification settings - Fork 109
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
Deduplicate information across index.md and README.md #15
Comments
Hi @kevinlin1, thanks for submitting this issue (and being quick to upgrade just-the-class to I certainly agree that the duplication could be a maintenance burden and/or be confusing. To be honest, I haven't put as much time into this template compared to other theme work, and this is a good reminder to spend some time on it! I believe that there was an original intention to separate the two files. In #5 (the PR writing these files), Peter listed:
I think this also makes sense; in my experience, the README for a repository is a short and concise document that only describes how to start development (and/or deploy). From my perspective, READMEs are not intended to be user-facing (where the user is a visitor of the website), and it may be good to push users of our theme to separate the README from rendered materials. If he has time, I'd also like to tag in @pdmosses if he has any additional thoughts; he's always done a great job with identifying clear and concise documentation. For what it's worth, I am personally okay with:
I don't have a strong opinion, though perhaps I'm leaning slightly towards keeping what we have. However, I'm not wedded to that opinion, and am happy to move forward with other community members' ideas! Separately, I agree that excluding the |
I basically agree with what @mattxwang wrote. I still regard
I think we could entirely eliminate the front matter in However, the GitHub/GFM rendering of our current |
I noticed that some information is duplicated across the
index.md
andREADME.md
files in the Just the Docs Template, and some information is not listed on both pages. I wanted to open this issue so that we might be able to discuss an approach for combining these two files.Potentially desirable end state
Combine the information currently spread across
index.md
andREADME.md
into a single file,README.md
, that is permalinked to/:path/
. The context for this suggestion was something that I did last year to deduplicate information across theindex.md
andREADME.md
files in my Just the Class template. I figured this might also be a useful change for the official template repository too.The advantages of deduplicating information in these two files:
README.md
when they intend to changeindex.md
.README.md
using GitHub's markdown engine.README.md
. (This can be excluded in the Jekyll site configuration.)The drawbacks of deduplicating information in these two files:
README.md
(displayed in GitHub) to appear separately and differently from their websiteindex.md
content.What are your thoughts? My assumption is that having a unified
README.md
andindex.md
makes things clearer for less-experienced users by ensuring that a change to a file that looks like the home page's content would in fact result in a change in the output website.The text was updated successfully, but these errors were encountered: