Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2690

Should we factor code out of tutorial.rst?

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: docs, Docs Examples, libmongoc
    • Labels:
      None

      evgeni.dobranov noticed that the update example under "Updating a Document" in the mongoc tutorial.rst differs from the example-update.c included in the examples. Most of the code in tutorial.rst are fully compilable snippets. Should we extract them and place them into separate .c files under examples, and include with literal-include?

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: