-
Notifications
You must be signed in to change notification settings - Fork 43
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
Split README into smaller pieces. #8
Comments
Maybe useful: https://github.com/adityatelange/hugo-PaperMod/ |
Hello sir @guettli, How do you want the README to be split? Maybe, I could help. Thanks. |
@zxenonx in the long run I would like to have nice pages and a feedback section for every note. In the past I thought I need a structure like in a book: Chapter 1 ... Chapter 2 .... But in the digital age, it might make more sense to have tags/labels. so there is no hierarchy and no sorted order. Every note gets an ID. The tag/label approach would mean, that each note needs to be split into an own file. In the file we need to specify the tags. Most flexible would be key-value pairs. Examples: tag: testing But above are just my ideas. What do you think? How could this huge page get split so that it is easier to read? |
I entirely agree with this approach. |
I was thinking about another structure... |
ok. What could be the next step? |
Well, I'm going to try Hugo this weekend to familiarize myself with it. Then I can get down to the real work. Please, where do you want the site deployed? On Github pages or on a custom domain? |
I think I would use https://thomas-guettler.de/ |
Ok. Great. Last week, I built a dummy site with Hugo and PaperMod theme and deployed it on Netlify. This weekend, I'll start the main work. I assume we will be using this repo to host the docs. So I would need some access to push code. |
@zxenonx great news! Sounds good. My idea is to split the way too long text into "notes". Next step from my perspective:
But wait a second. Maybe we have more posibilities if you create a simple django app. The source should be in git. But things like up/down-votes can't be managed with a static site. Is there a common syntax for tagging in hugo? We could use the same syntax and parse it into a django model. We should experiment with the prefered setup before settling on a solution. |
What a great idea sir! In fact, we can build a Hugo static site inside a Django app to handle features like up/down-votes. Well, there's a common syntax for tagging in Hugo. |
I think we don't need Hugo. At least not at the beginning. But we need a database schema. |
I have seen on your github profile, that you already did something with django. I would use django and plain html, not hugo. I think a model with name "Note" would make sense. It has a slug. This is the filename from the git-repo. Example notes/foo.md will get slug "foo". It has an attribute "text". It has an attribute created_at and modified_at. Then we need a simple view (function based view) which shows the markdown has html. This would be first steps. |
Yeah, on the backend I mainly use Django & FastAPI. I have noted note your suggestions and I will get on with it. We'll talk about the tags management later, right? |
Yes, the first version does not need to support tags. Just the basics first. From markdown to html. I think this is the first task. |
The README is way to long and not pretty.
This tool could help: https://squidfunk.github.io/mkdocs-material/
https://github.com/guettli/static-site-generators
The winner is Hugo.
The text was updated successfully, but these errors were encountered: