-
Notifications
You must be signed in to change notification settings - Fork 56
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
Rewrite: 11ty website #266
Conversation
I think the overall structure makes a lot of sense like this.
I think that might be worth it, even if it's only for the aesthetics. |
A different approach could be to replicate the structure in That would also give us more flexibility regarding the website design. What do you think? |
I'm not entirely sure I understand this. Would this mean we would have a README in the module root and a totally different file in |
Currently I'm using the readme files to generate the content of the website. We could, alternatively, generate the content from a set of entirely different markdown and template files. They don't have to be the same. The website could live in My question is: Do we want the readme files to be different, maybe shorter, or do we want the same content anyway? |
How about we start by having everything in |
Interesting idea to symlink the readme files. I'll give that a try. 👍 |
The symlinks with |
This is to free up the name `index.html` for the website.
5d7d814
to
32e19de
Compare
This is a suggestion how we could combine per module
README
files with a "All-in-one" documentation page. The proposal useseleventy
to generate a static website using theREADME
files as content.For this to work, we need to add frontmatter to the README files. If this is something we want to avoid, we could alternatively store the information in a file called
README.11tydata.json
next to eachREADME
.We could create a GitHub action to deploy this on GitHub pages, following the steps described here: https://www.linkedin.com/pulse/eleventy-github-pages-lea-tortay/
Run locally
npm ci
npm start
Closes #265