Skip to content
Snippets Groups Projects
  1. Feb 16, 2023
  2. Feb 15, 2023
  3. Feb 13, 2023
  4. Feb 02, 2023
  5. Feb 01, 2023
    • Jérémy Bobbio (Lunar)'s avatar
      Restore a link to the API reference in Development section · f13f1620
      Jérémy Bobbio (Lunar) authored
      Suggested by @zack: “it's useful to have it on top (because a lot people
      use docs.s.o for that, at least now), but it also belongs to devel doc,
      so people will look for it on the left as well”
      f13f1620
    • Jérémy Bobbio (Lunar)'s avatar
      Add a landing page for the documentation · 715572f7
      Jérémy Bobbio (Lunar) authored
      This is implements the landing page that was designed during the
      documentation sprint in November 2022.
      
      There is probably further work to be done on the copy, maybe tweak
      colors and margins on the cards. Proper support for dark mode would
      be nice as well. It’s a bit ugly for now.
      
      The images are coming from <https://undraw.co/>. The license does not
      require attribution. Full license text reads as follow:
      
          Copyright 2022 Katerina Limpitsouni
      
          All images, assets and vectors published on unDraw can be used for
          free. You can use them for noncommercial and commercial purposes.
          You do not need to ask permission from or provide credit to the
          creator or unDraw.
      
          More precisely, unDraw grants you an nonexclusive, worldwide
          copyright license to download, copy, modify, distribute, perform,
          and use the assets provided from unDraw for free, including for
          commercial purposes, without permission from or attributing the
          creator or unDraw.  This license does not include the right to
          compile assets, vectors or images from unDraw to replicate a similar
          or competing service, in any form or distribute the assets in packs
          or otherwise. This extends to automated and non-automated ways to
          link, embed, scrape, search or download the assets included on the
          website without our consent.
      715572f7
    • Jérémy Bobbio (Lunar)'s avatar
      Switch to PyData Sphinx theme · b37d4ff8
      Jérémy Bobbio (Lunar) authored
      After merging various parts of Software Heritage documentation in a
      single Sphinx instance, the navigation using the Read The Docs theme
      became seriously cumbersome.
      
      We switch to PyData Sphinx theme: a clean, Bootstrap-based Sphinx theme
      by and for the PyData community. For details, please refer to:
      https://pydata-sphinx-theme.readthedocs.io/
      
      One major upside is that by default supports three level of navigation:
      
      - top-level parts in the header bar (for us, they would refer to
        `devel`, `sysadm` and `user`)
      - a left sidebar for sections in the current part,
      - a right sidebar for the contents of the current page.
      
      This maps really well to our hierarchy.
      
      Some changes made to better navigate the various parts of our
      navigation:
      
      - Rename “Development Documentation” to just “Development”.
      - Rename “Sysadmin Documentation” to just “Infrastructure”.
      - Rename “User Documentation” to just “Usage”.
      - Promote the API reference from Development to the top-level.
      
      Some other improvements to better benefit the new theme:
      
      - Replace the vertical logo with the horizontal one to better fit the
        header.
      - Add links to GitLab, PyPI and status.s.o to the header.
      - Remove the unused Alegreya font.
      b37d4ff8
    • vlorentz's avatar
      8ddbe45f
  6. Jan 23, 2023
    • vlorentz's avatar
      Remove second-level headings from the dev doc + hide TOC · edda8b3a
      vlorentz authored and vlorentz's avatar vlorentz committed
      The only two titles at the second level were 'Important documentation links'
      and 'Content', which look weird and are not very useful.
      
      And this level prevented headings inside package documentation from being
      shown in the TOC at all, which means the TOC couldn't be used to navigate
      within a package's documentation.
      edda8b3a
    • vlorentz's avatar
      Increase RTD's navigation depth from 4 to 5 · 4a10c3e4
      vlorentz authored and vlorentz's avatar vlorentz committed
      To match the level we had de facto before merging devel/sysadm/user
      into a single tree
      4a10c3e4
  7. Jan 22, 2023
    • vlorentz's avatar
      Configure RTD theme to use titles only · 78847c40
      vlorentz authored
      0e55968d removed :titlesonly: from the
      root toctree, which caused sphinx_rtd_theme to switch the mode it uses
      to display *all* sidebars.
      
      This config change reverts this behavior, but keeps the content of
      pages unchanged.
      78847c40
  8. Jan 17, 2023
  9. Jan 16, 2023
  10. Jan 13, 2023
  11. Jan 12, 2023
Loading