-
Notifications
You must be signed in to change notification settings - Fork 34
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
Use mkdocs-material
for documentation
#178
base: pre-release-5-0-0
Are you sure you want to change the base?
Use mkdocs-material
for documentation
#178
Conversation
@SMILEY4 This is the PR for the documentation pages without the autogenerated API reference If I were to make a list of the remaining tasks, it would be
|
How to run and preview the docs locallyRequirementsStepsSetting up environment
Previewing the docsmkdocs serve Autogenerated API ReferenceTo generate the API Reference, run ./gradlew dokkaJekyll And run the command to preview the docs if it is not already running For more information, see mkdocs-material Possible future developmentIt is possible to use the gradle-mkdocs-plugin to manage the dependencies and environment as shown above, possibly reducing all the above discussed to something along the lines of ./gradlew mkdocsServe or similar. We need to analyse the opportunity cost and make a decision |
Thank you! I checked it out and it looks awesome already 👍 I did a quick test with dokka and tested the html output ( What do you think?
I think it would be great if we can get this to work, though I haven't quite understood yet how mike would work with our multiple step build process, i.e. dokka + mkdocs and publishing. I would probably need to do some more experiments myself.
Assuming that the gradle task can do everything we need that would probably be the simplest solution. I doupt however that this would support our requirements with dokka, mkdocs and possibly mike. I dont think the python workflow is too complicated and probably allows for more flexibility for now. Just let me know if you want to merge this branch and work with new ones or if you want to keep it open for a bit longer. |
Thank you 😄
It does look nicer that way. And more "standard" for an API reference. How does it integrate with the rest of the Markdown files? I have to try it locally, I suppose.
Alright. I will try to get it to work.
Basically, it would publish new versions into a subdirectory, and mike will allow switching versions when browsing the docs. I think maybe after I am done with that, you will understand it better
I took another look at the plugin. Although the documentation is a bit lacking, it looks like it would allow us to do what we want to do by overriding certain things. I will give it a shot, and see what comes of that
I wanted to decide on the Python vs Gradle plugin before merging. I will try and get the latter to work, but if it is proving challenging, we can go ahead and merge and maybe come back to it later Also, maybe after this is all done, we can do something similar for the awesome kenerator 😉 |
Closes #175