Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15392

Can't build the GitHub offline version

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None

    Description

      I'm trying to build [the offline version of MongoDB docs.|https://github.com/mongodb/docs|https://github.com/mongodb/docs].], but I can't use python2 because I'm on Arch Linux and there is no pip2 in pacman's repos. I've tried using python3, but I get a build error:

      Traceback (most recent call last):
        File "/home/sv-cheats-1/.local/bin/giza", line 33, in <module>
          sys.exit(load_entry_point('giza==0.5.18', 'console_scripts', 'giza')())
        File "/home/sv-cheats-1/.local/bin/giza", line 25, in importlib_load_entry_point
          return next(matches).load()
        File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
          module = import_module(match.group('module'))
        File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
          return _bootstrap._gcd_import(name[level:], package, level)
        File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
        File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
        File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
        File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
        File "<frozen importlib._bootstrap_external>", line 883, in exec_module
        File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
        File "/home/sv-cheats-1/.local/lib/python3.10/site-packages/giza/cmdline.py", line 19, in <module>
          from giza.config.runtime import RuntimeStateConfig
        File "/home/sv-cheats-1/.local/lib/python3.10/site-packages/giza/config/runtime.py", line 25, in <module>
          from giza.config.sphinx_config import available_sphinx_builders
        File "/home/sv-cheats-1/.local/lib/python3.10/site-packages/giza/config/sphinx_config.py", line 20, in <module>
          import sphinx.make_mode
      ModuleNotFoundError: No module named 'sphinx.make_mode'
      make: *** [Makefile:62: html] Error 1

      The reason why I need the offline version is because it's the only way to get the docs in Russia, because mongodb.com/docs returns 403 if connecting not from a VPN.

      Attachments

        Activity

          People

            Unassigned Unassigned
            brawlergames01@gmail.com da the dev N/A
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 35 weeks, 5 days ago