-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Conversation
In e3f3730 I made some changes to set up a new directory/index structure. This is just a proposal for everyone to get an idea. Let me know what you think. |
@stefanprodan in 2a30963 I added the build-in/serve-from docker, it's a bit messy, but there's instructions on how to to it in |
@dholbach I've simplified the docs preview, all you need to do is run Running
PS. You can change the port binding with |
Nice work, @stefanprodan! Would it make sense to have |
I just changed the directory structure somewhat... please let me know if I was jumping the 🦈 here:
|
@dholbach as describe here https://dont-be-afraid-to-commit.readthedocs.io/en/latest/documentation.html#readthedocs-org Read the Docs will watch your GitHub project, and build, render and host your documents for you automatically. |
Would it be an idea to split the FAQ ( |
The docs structure looks ok to me 💯 |
Yeah maybe the Helm Operator docs should be in a separate dir, this would make things easier when we'll have helm-op in its own repo. |
You guys think ahead! 👍 |
@dholbach I am going to file my final judgement of the new structure as soon as I have viewed a rendered version of the documentation. Hope to do this by the end of the day 🤞 |
@hiddeco Luckily @stefanprodan made this very easy.... |
Thoughts now that I have seen the rendered views:
I think, to give people the best experience possible, we should maybe think out a structure without looking at what we currently have, but what we do want to tell people, and merge / rewrite things back into this structure so we revise all documentation at the same time. |
readthedocs/recommonmark#8 bites us for the following links:
|
This is marvellous work, thank you @dholbach, and @stefanprodan and @hiddeco for pushing it onward. |
@dholbach regarding overflowing text boxes, I think we should use multi-line code blocks and we'll get a horizontal scrollbar. |
If we want to hook this up with readthedocs.org and serve the files from there, we need to decide on a project name - |
@bia Can you remind me of which fonts to use? |
(Proxima Nova is not a free font) |
For monospace, right? In this order? Which other fonts to fall back to? Which general font? |
|
Some links are also broken because of ryanfox/sphinx-markdown-tables#18 ... |
@dholbach maybe remove the links from tables? I don't think those are so important. Also I would setup readthedocs.org with |
From the root dir run `make run-docs`, this will: - build the docs website inside the docker image - create a docker image named flux-docs:latest - run the docs website on http://localhost:8000/_build/html/index.html You can change the port binding with `DOCS_PORT=8080 make run-docs`
- moved docs into subdirectories to make things easier to navigate - remove TOCs from various docs as this will be in the UI of readthedocs already - less to manually keep up to date
- anchors in our own files [file.md#anchor] - links in markdown tables - missing symlink to font file
They are part of the read-the-docs UI already. If we want a specific flow in the UI, we can move docs around. Also make markdownlint happy in the files I touched.
After talking to @stefanprodan I realised that versioned docs won't work easily with Gitbook, we'd also just have one free repo.
read-the-docs might be the way to go. Here's a WIP PR to get this into shape.
To run this, do:
# in top-level directory make serve-docs
Todo list:
Content
Build
make test-docs
with CIPublish