Skip to content
Snippets Groups Projects
  1. Feb 17, 2025
  2. Feb 04, 2025
  3. Jan 31, 2025
  4. Jan 30, 2025
  5. Oct 01, 2024
  6. Aug 30, 2024
  7. Apr 19, 2024
  8. Feb 13, 2024
  9. Jan 24, 2024
  10. Dec 05, 2023
  11. Dec 03, 2023
  12. Nov 22, 2023
    • David Douard's avatar
      distribute sphinx Makefiles as package data · 1941e912
      David Douard authored
      Distribute these Makefiles in share/swh-docs and move the
      glossary.rst in share/swh-docs/docs/devel to keep the directory hierarchy
      of the source repo.
      1941e912
    • David Douard's avatar
      distribute the glossary.rst file as package data · b04e14ef
      David Douard authored
      Distribute this docs/devel/glossary.rst file as package data in
      share/swh-docs since it is needed for locally building the doc
      from swh packages.
      
      Adapt the add_glossary_to_index sphinx hook to look for this file in
      share/swh-docs in addition to the current relative path (which only
      works if swh-docs in installed in editable with proper pip
      config-settings and who knows what else). For local/editable installed
      swh-docs, look a bit more than previously to attempt to catch the case
      of editable_mode=strict pip config
      b04e14ef
  13. Nov 20, 2023
    • David Douard's avatar
      Add a hook to ensure README files are symlinked in swh-xxx/docs/ · 58d0e965
      David Douard authored
      The idea is to generalize the fact that all the swh packages should have
      a README file in the root directory, but this should be included in the
      sphinx documentation, for which the simplest way is to make the file
      symlinked in docs/. For several reasons, it's simpler to make this
      symlink creation handled by a hook/automation script at doc build time
      rather than add the symlink in the git repo of the swh package.
      58d0e965
  14. Nov 17, 2023
  15. Oct 25, 2023
  16. Aug 22, 2023
  17. May 31, 2023
  18. May 17, 2023
  19. May 12, 2023
  20. May 09, 2023
  21. Apr 27, 2023
  22. Apr 25, 2023
  23. Apr 19, 2023
  24. Feb 17, 2023
  25. Feb 13, 2023
  26. Feb 02, 2023
  27. Feb 01, 2023
    • 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
  28. Jan 23, 2023
  29. 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
  30. Jan 16, 2023
  31. Jan 13, 2023
Loading