Improve documentation

  • I have been an enthusiastic user of Fog for some time now and it has
    saved me tons of time and also created much more quality in managing our
    office clients.

    Also your quick and friendly support to some issues I’ve had is wonderful.

    I have read a lot of the contents in the fog wiki and, although it is
    useful, things are not always in a logical place and some content applies
    to older versions.

    I would like to offer to make new documentation for the latest version
    of Fog in such a way that it will be easier to keep up with newer
    versions. I was thinking about using something like sphinx and publish it on

    Documentation would then be part of the Fog package and checked in on Github.

    Do you like the idea?

    I hope that with this initiative I can give something back to the
    community and I like documenting things. As this is not something I can do
    the boss’ time, it would mean that I will work on it in my free time and I
    expect that it will take some months before I can deliver something

    Let me know.

  • Senior Developer

    @JJ-Fullmer Looks really great I find. Thanks for picking this up a working on it!

  • Testers

    @Sebastian-Roth I’ve almost got a decent prototype of our docs with that theme live. There are some things that aren’t working and I haven’t sorted out why yet. Mainly the floating ‘what’s on this page’ on the right doesn’t seem to float when you scroll on our site. Trying to find the css or js that is missing. But other than that I like this theme. It changes our structuring a bit but makes it more flexible.

  • Testers

    @Sebastian-Roth I tried to install that theme per the instructions in their git to no avail. I tried following some of the example site’s configs too and haven’t got it to work yet. I think it’s worth getting, just keeping you updated.


    It wasn’t working because I had a dyslexic moment and because they were missing steps in their instructions

    installs with pydata-sphinx-theme but then you define it as your theme with pydata_sphinx_theme those silly underscores and dashes.
    I also had to add a html_context section and a html_theme_options sections in the And I had to manually copy over the _templates files from the theme’s repo into our project. But I got it working. It changes things up a little bit but it’s fixable, it’s just a question of what makes the most sense.

    There are still some kinks to work out but I think I like it.

    It ends up looking like this



    The front page is still very much a rough draft. But we could have something like this as exists in many other pages using this theme. Note the little panels. I figure we could have links to each top level section with a brief summary of what information is in each section.


    This also changes it from combining pages into one index to more individual pages. It can be a bit easier to navigate this way and you still keep that information grouped together nicely in this theme. This is a nice find @Sebastian-Roth. All the themes I played with outside the default removed the read-the-docs version modal. This one is pretty great

  • Testers

    @Sebastian-Roth I kind of like it, it doesn’t appear to have to think I like about the default read-the-docs theme with the expanding sidebar

    But that example also doesn’t have a ton of section levels, so I’ll give adding it a go and see what it looks like for us. The Jupyter page seemed to be loading a bit slower than other ones, but that is probably unrelated to the theme. I mean we could also customize our own theme and make it look like for 1.6’s gui. But that could be a separate project.

    For at least the .fogsettings page, we’ve already go that in the reference section I believe

    I like the FSCrawler, and ansible, and readthedocs documentation tree structure layouts the best myself. Having a few very top level things to break up and organize the rest. Then it expands on down.

    I think as long as we get the general structure agreed upon, changing up the order of things or adding new sections will be simple.

  • @Sebastian-Roth said in Improve documentation:

    I would see those three in the FAQ section, what do you think?

    I think putting them in FAQ is fine, though the ones on fogsettings and password_central seem more like documentation that frequently asked questions. migrate_fog is more like a procedural thing. Though long as they get in there somewhere, it works.

  • Senior Developer

    The theme used by jupyter is called pydata-sphinx-theme. The more I look at it the more I like it. What do you think @JJ-Fullmer @Jurgen-Goedbloed @Wayne-Workman?

  • Senior Developer

    @JJ-Fullmer said:

    Just trying to get this right before we’re in too deep and changing it becomes a huge pain.

    Absolutely right to think about structure before we rush into it. On the other hand it can still happen that we decide one way and figure out there is a better way later on. To get an idea on what is possible I looked through some other projects documentation (just a random search on the web) and found a couple that might help us decide.

    @Wayne-Workman said:

    Where might these fit in?

    I would see those three in the FAQ section, what do you think? Maybe we’d structure FAQs a bit as well so we don’t end up with a list of 50 unsorted FAQs.

  • Testers

    I made a draft of a top level tree

    I think we may need subfolders beyond this rather than including everything in one sectioned out page like we’re doing for the installation and management sections.


    I’d appreciate some feedback. I was thinking 10 top level categories is a good limit, but will everything fit into these categories.
    And then will we need to add another heading level to split out any sub categories. i.e. in the wiki there is a how-to guide section outlined like this


    each link being an individual page. We could probably combine each of those headings into a single grouped index page the way we’re doing the current pages. But they would each have another subfolder in one of the top level folders. i.e. customization\ipxe would have an index.rst that would combine all the pages under FOG PXE/iPXE Menu

    But we currently are breaking documents into their own rst files at the heading 2 level, but we probably don’t want a gigantic customization page even with navigation. Perhaps we have some more pages like the root index.

    Or maybe we should just follow examples of existing pages like and giving a bigger overview at the top level and maintain the title/sub-title level navigation sections throughout on the left panel.

    Just trying to get this right before we’re in too deep and changing it becomes a huge pain.

  • If you look at the history on that one, it was added by “admin” in 2010 (probably by @Chuck-Syperski). I don’t remember seeing this article before.

    When I was doing printers with fog (which works great last I used it), I just made a share on the Windows server to hold drivers, accessible anonymously.

    This article is newer and better suited for creating samba shares:

    I wrote that in 2016 when there wasn’t even RHEL 8/CentOS 8, but had foresight to add the correct commands.

  • Senior Developer

    @JJ-Fullmer Probably you’ll find a fair amount of those kind of topics in the wiki. I’d hope this is a good chance to get rid of some dated stuff as well. The one you mentioned about samba is 10 years old, talking about Ubuntu 10.04 (!) and I am not sure if people really have those kind of setups. Anyone an idea?

  • Testers

    @Wayne-Workman Do you know if there are some orphaned wiki pages? Or rather how to find the parent of a wiki page? I’m finding links to pages like this one

    Granted this one might need a little updating, but even still I’m not sure where it’s home should be. Should this be in a Knowledge Base Section? A reference section? As far as I know, you’re the resident wiki expert so I thought you might have insights.

  • Testers

    @Sebastian-Roth @Tom-Elliott
    Am I correct in that we no longer use the mobile versions of pages and we just use responsive css to make the fog management page at least somewhat universally friendly. And that this is meant to be improved more so in the 1.6 UI?
    I’m asking in reference to converting this section
    I’m thinking that it could all be replaced with just a note about the page using responsive.css.

  • Testers

    @Wayne-Workman Just thought you’d appreciate this.
    I added a video from the channel to the snapin management page

  • Testers

    @Sebastian-Roth @Jurgen-Goedbloed
    I partly agree.
    I’m mostly using the move to get used to rst rather than read through every single line to update as I go. I’ll try to adopt this mentality as a focus though, maybe that’s a better way anyway.

    But as for screenshots see my slack message. If we use a universal image definition file we can easily update screenshots in one place as the ui changes, which I believe will work very well with the versioning. Then once all is moved over we mark it as a release of ‘pre 1.5.9’ and then update all the rest and release as 1.5.9. Maybe I’m being overly optimistic about how fast it’ll be converted though. There are a lot of sections in that wiki beyond the top level.

  • Senior Developer

    @Jurgen-Goedbloed said in Improve documentation:

    Can we agree on the starting point that, when coping things from the wiki to the new documentation that we will only focus on the current (1.5.9) version? So all parts that refer to old versions will not be copied and that we will also use screenshots of the current version. I think this will help a lot in understanding and recognition for new Fog users.

    Absolutely I would say! We encourage people to update to the latest official version over and over in the forums. So it’s fair enough to only provide documentation for that as well.

  • I am now working on the installation part of the manual.

    Can we agree on the starting point that, when coping things from the wiki to the new documentation that we will only focus on the current (1.5.9) version? So all parts that refer to old versions will not be copied and that we will also use screenshots of the current version. I think this will help a lot in understanding and recognition for new Fog users.

  • agree with Sebastian. Just link to the old video. When it dies, it dies.

  • Senior Developer

    @JJ-Fullmer said in Improve documentation:

    Not sure if that’s worth it for the flash videos of the pre 1.0 fog gui.

    I don’t think it’s worth it. We need to create a new one anyway.

Log in to reply