Description
Hi,
let me start and thank you for your project! In a way it works really great although it created me some grief/problems. I want to share my observations for you to considere and maybe improve your documentation as I currently experienced your documentation as a total newbie. All you will read will probably mark me as an idiot but newbies ARE idiots at least in the way of understanding how things tick.
I am on windows and my usecase is to export Obsidian MD markdown files which will hold my personal documentation in regards of setting up and configuring software (this now includes McDocs), coding snippets and general tips which I want to publish on github.
So I set up a toolchain to export those Obsidian markdown files and after some struggle and even extending an Obsidian module I am able to export all files into a local directory. Thats where McDocs takes over.
My goal was to be able to generate a static web site locally, review and correct it and then push/post it on github.
I ended up with mkdocs "getting started pages". I decided to use "readthedocs" as theme. Installation went well and the first example worked. I exported my markdown files and started mkdocs serve. I was able to navigate my website on localhost. Great ... well aside from the 404 error and the inability to show my first page. I reread the documentation and made sure my Index.md file was in the correct folder. Nothing worked. I learned how to push to gh-pages, I learned how to set up a action workflow. Nothing helped. You probably allready noticed what I did wrong?
-
PLEASE! Insert a sentence in the first page of getting started that your index.md file MUST start with a lowercase "i" !!!
Your example works of course but this little detail drove me crazy. -
Posting on github pages and directory depth have been the second obstacle. I did not realize for quite some time I need to use site_url: and I need to use it with the github PAGES URL. In hindsight it is obvious but a sentence where to find that URL or that it differs from the link you can copy from the main branch site which is the URL to clone your repository would also be helpfull.
-
A (short) step by step and more detailed example how to set up github/your local git directory and how to push to gh-pages would be great!
-
Readthedocs text - a small mistake which I did not yet check (well did not check what holds true):
"Readthedocs"
A clone of the default theme used by the Read the Docs service, which offers the same restricted feature set as its parent theme. Like its parent theme, only two levels of navigation are supported.
....
navigation_depth: The maximum depth of the navigation tree in the sidebar. Default: 4.
-
Readthedocs (standard?) theme does not seem to offer the ability to copy/paste code by button - so the mkfdocs version does not seem to be like its parent theme.
--> But I am aware that this is something I probably still have missed - still trying to figure that out. -
Building my first website folder I was totally disappointed that I could not navigate my website from the folder it was saved in. I allways landed in the folder and only saw the html file which I had to click again. This is probably one thing that every newbie will try after building the static site the first time.
It would be helpfull to include on the getting started page a short mkdocs.yaml which will have the correct settings which I figured out should be site_url: "", use_directory_urls: false and plugins: [] (still need to test that). Yes there is a deploy your docs link! And I probably did not read diligently enought. But I truly missed it for a long time. Maybe a prominent colorfull note section would helped me. You know newbies and their new toys .. off they go experimenting.
I know probably most of this my own fault. This shall be no blame. It is my experience as a total newbie to mkdocs and it's documentation. In a week or two I probably will not even remember to have struggled ... but I did and so might others.
Thanks for your effort and your project!!!