• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Improve documentation

    Scheduled Pinned Locked Moved
    General
    4
    51
    6.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Sebastian Roth Moderator
      last edited by

      @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.

      • https://jupyter.readthedocs.io/en/latest/ - top bar menu for top level and side bar menu for 2nd & 3rd level plus the in page references on the right side - definitely check out the code on github as well for directory structure ideas.

      • https://python-gitlab.readthedocs.io/en/latest/ - similar complex structure but way less clear compared to the above one I find.

      • File and directory structure seems to be fairly clear in this project as well.

      @Wayne-Workman said:

      Where might these fit in?

      • https://wiki.fogproject.org/wiki/index.php?title=Migrate_FOG
      • https://wiki.fogproject.org/wiki/index.php?title=Password_Central
      • https://wiki.fogproject.org/wiki/index.php?title=.fogsettings

      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.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        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?

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        JJ FullmerJ 3 Replies Last reply Reply Quote 1
        • Wayne WorkmanW
          Wayne Workman @Sebastian Roth
          last edited by

          @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.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          1 Reply Last reply Reply Quote 0
          • JJ FullmerJ
            JJ Fullmer Testers @Sebastian Roth
            last edited by

            @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
            daf6b452-82c4-45c4-bc93-a0e9bd6a43c0-image.png

            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.

            @Wayne-Workman
            For at least the .fogsettings page, we’ve already go that in the reference section I believe https://fogproject.readthedocs.io/en/latest/reference/index.html#the-fogsettings-file

            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.

            Have you tried the FogApi powershell module? It's pretty cool IMHO
            https://github.com/darksidemilk/FogApi
            https://fogapi.readthedocs.io/en/latest/
            https://www.powershellgallery.com/packages/FogApi
            https://forums.fogproject.org/topic/12026/powershell-api-module

            1 Reply Last reply Reply Quote 0
            • JJ FullmerJ
              JJ Fullmer Testers @Sebastian Roth
              last edited by JJ Fullmer

              @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.

              Edit

              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 conf.py. 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

              b2046660-0ccc-4101-b7d2-9384eac0a6be-image.png

              a7bdeb27-2dbd-4800-bae9-c7ea48e4fc3f-image.png

              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.

              96a84a6e-e54c-43f5-a603-f763465d08d8-image.png

              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

              Have you tried the FogApi powershell module? It's pretty cool IMHO
              https://github.com/darksidemilk/FogApi
              https://fogapi.readthedocs.io/en/latest/
              https://www.powershellgallery.com/packages/FogApi
              https://forums.fogproject.org/topic/12026/powershell-api-module

              1 Reply Last reply Reply Quote 1
              • JJ FullmerJ
                JJ Fullmer Testers @Sebastian Roth
                last edited by

                @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.

                Have you tried the FogApi powershell module? It's pretty cool IMHO
                https://github.com/darksidemilk/FogApi
                https://fogapi.readthedocs.io/en/latest/
                https://www.powershellgallery.com/packages/FogApi
                https://forums.fogproject.org/topic/12026/powershell-api-module

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by

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

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  JJ FullmerJ 1 Reply Last reply Reply Quote 0
                  • JJ FullmerJ
                    JJ Fullmer Testers @Sebastian Roth
                    last edited by

                    @Sebastian-Roth @Jurgen-Goedbloed I have got the new theme working with scrolling toc and all. I think the top menu needs a little tlc https://fogproject.readthedocs.io

                    Do we want to stick with this theme or revert back to the default theme, I know @Jurgen-Goedbloed mentioned he didn’t like it as much. I don’t want to go changing the readme with the structural changes if we’re not gonna stick with this theme. Personally I didn’t like it at first but it’s grown on me and it’s pretty easy to navigate.

                    Have you tried the FogApi powershell module? It's pretty cool IMHO
                    https://github.com/darksidemilk/FogApi
                    https://fogapi.readthedocs.io/en/latest/
                    https://www.powershellgallery.com/packages/FogApi
                    https://forums.fogproject.org/topic/12026/powershell-api-module

                    JJ FullmerJ 1 Reply Last reply Reply Quote 1
                    • JJ FullmerJ
                      JJ Fullmer Testers @JJ Fullmer
                      last edited by

                      The theme has been reverted for now. I have made a top level tree and structured things per the sphinx and rtd recommendations.
                      Since it’s now following the structure it’s designed to use, switching themes down the road should be easy breezy.

                      Have you tried the FogApi powershell module? It's pretty cool IMHO
                      https://github.com/darksidemilk/FogApi
                      https://fogapi.readthedocs.io/en/latest/
                      https://www.powershellgallery.com/packages/FogApi
                      https://forums.fogproject.org/topic/12026/powershell-api-module

                      1 Reply Last reply Reply Quote 1
                      • S
                        Sebastian Roth Moderator
                        last edited by Sebastian Roth

                        @Jurgen-Goedbloed @JJ-Fullmer We have the DNS entry now. https://docs.fogproject.org/en/latest/

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        JJ FullmerJ 1 Reply Last reply Reply Quote 1
                        • JJ FullmerJ
                          JJ Fullmer Testers @Sebastian Roth
                          last edited by

                          @sebastian-roth It’s beautiful!
                          Thanks for figuring that out!

                          Have you tried the FogApi powershell module? It's pretty cool IMHO
                          https://github.com/darksidemilk/FogApi
                          https://fogapi.readthedocs.io/en/latest/
                          https://www.powershellgallery.com/packages/FogApi
                          https://forums.fogproject.org/topic/12026/powershell-api-module

                          1 Reply Last reply Reply Quote 0
                          • 1
                          • 2
                          • 3
                          • 3 / 3
                          • First post
                            Last post

                          192

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project