Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2866

How can i properly run a local instance of the docs ?

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.6.2
    • Component/s: Docs
    • Labels:
    • Needed

      Why do anyone needs to do this if the docs at mongodb.com are so well documented ?
      Well, there is no internet here my friends, sadly .

      I have set up go and hugo and when i run the make command from terminal i get some errors (bellow).
      If there is another source of offline documentation will be nice to have that too.
      Apollogies for "pollute" the issue pipeline with this, but i really don't know where to ask for help with this stuff.

      ```bash

      my@laptop:~/some/dir/in/home/node-mongodb-native$ make

      1. cp -R ./HISTORY.md ./docs/content/meta/release-notes.md{{ hugo -s docs/reference -d ../../public}}{{ Start building sites … }}{{ ERROR 2020/11/03 23:47:12 [en] REF_NOT_FOUND: Ref "upgrade-migration/main.md": "/some/dir/in/home/node-mongodb-native/docs/reference/content/index.md:14:18": page not found}}{{ ERROR 2020/11/03 23:47:12 [en] REF_NOT_FOUND: Ref "upgrade-migration/upgrading.md": "/some/dir/in/home/node-mongodb-native/docs/reference/content/index.md:16:81": page not found}}{{ ERROR 2020/11/03 23:47:12 [en] REF_NOT_FOUND: Ref "installation-guide/installation-guide.md": "/some/dir/in/home/node-mongodb-native/docs/reference/content/index.md:21:27": page not found}}{{ ERROR 2020/11/03 23:47:12 [en] REF_NOT_FOUND: Ref "quick-start/quick-start.md": "/some/dir/in/home/node-mongodb-native/docs/reference/content/index.md:22:17": page not found}}{{ ERROR 2020/11/03 23:47:12 [en] REF_NOT_FOUND: Ref "tutorials/crud.md": "/some/dir/in/home/node-mongodb-native/docs/reference/content/index.md:23:21": page not found}}{{ ERROR 2020/11/03 23:47:12 [en] REF_NOT_FOUND: Ref "tutorials/connect/index.md": "/some/dir/in/home/node-mongodb-native/docs/reference/content/index.md:24:13": page not found}}{{ ERROR 2020/11/03 23:47:12 [en] REF_NOT_FOUND: Ref "reference/ecmascriptnext/connecting.md": "/some/dir/in/home/node-mongodb-native/docs/reference/content/index.md:30:16": page not found}}{{ ERROR 2020/11/03 23:47:12 [en] REF_NOT_FOUND: Ref "reference/ecmascriptnext/crud.md": "/some/dir/in/home/node-mongodb-native/docs/reference/content/index.md:31:21": page not found}}{{ ERROR 2020/11/03 23:47:12 [en] REF_NOT_FOUND: Ref "tutorials/connect/authenticating.md": "/some/dir/in/home/node-mongodb-native/docs/reference/content/index.md:35:20": page not found}}{{ ERROR 2020/11/03 23:47:12 [en] REF_NOT_FOUND: Ref "tutorials/gridfs/streaming.md": "/some/dir/in/home/node-mongodb-native/docs/reference/content/index.md:36:13": page not found}}{{ ERROR 2020/11/03 23:47:12 [en] REF_NOT_FOUND: Ref "tutorials/connect/tls.md": "/some/dir/in/home/node-mongodb-native/docs/reference/content/index.md:42:9": page not found}}{{ ERROR 2020/11/03 23:47:12 [en] REF_NOT_FOUND: Ref "reference/management/logging.md": "/some/dir/in/home/node-mongodb-native/docs/reference/content/index.md:43:13": page not found}}{{ ERROR 2020/11/03 23:47:12 [en] REF_NOT_FOUND: Ref "reference/management/apm.md": "/some/dir/in/home/node-mongodb-native/docs/reference/content/index.md:44:9": page not found}}{{ ERROR 2020/11/03 23:47:12 [en] REF_NOT_FOUND: Ref "reference/management/sdam-monitoring.md": "/some/dir/in/home/node-mongodb-native/docs/reference/content/index.md:45:25": page not found}}{{ ERROR 2020/11/03 23:47:12 [en] REF_NOT_FOUND: Ref "reference/faq/index.md": "/some/dir/in/home/node-mongodb-native/docs/reference/content/index.md:46:9": page not found}}{{ Total in 46 ms}}{{ Error: Error building site: logged 15 error(s)}}{{ make: *** [Makefile:8: generate_docs] Error 255}}

      ```

            Assignee:
            eric.adum@mongodb.com Eric Adum (Inactive)
            Reporter:
            tocarralero@gmail.com Dago A Carralero
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: