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

The connect() function is not linked to on mongo CLI’s documentation page where expected

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None
    • 0.1

    Description

      If I visit https://docs.mongodb.com/manual/reference/method/#connection , I see . In that list, I would expect `connect()` to be a clickable link, but it isn’t. To navigate to `connect()`, I have to click on the `MongoDB()` link and then use the prev/next navigation to navigate to the previous documentation which finally gets me to the documentation for `connect()`.

      The very fact that `connect()` is not a link on the `mongo` CLI documentation page makes me think that there isn’t any documentation on the command. So after giving up looking for the docs the first time, I had to experiment to figure out how its `url` parameter works (hint: it doesn’t actually accept a URL!). Then later I found I was able to indirectly get to `connect()`’ docs and then saw that URIs are not supported and learned how to pass username/password correctly.

      I think this stumbling could be saved for others if the link was added.

      Thanks.

      Attachments

        Activity

          People

            allison.moore@mongodb.com Allison Reinheimer Moore
            binki Nathan Phillip Brink (binki)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 15 weeks, 6 days ago