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

Should we factor code out of tutorial.rst?

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • docs, Docs Examples, libmongoc
    • None

    Description

      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?

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: