Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-5690

dm_dev_guide exclude_patterns for snippets incorrect

    Details

      Description

      dm_dev_guide:conf.py currently reads:

      exclude_patterns = ['README.rst', '_build', 'development/docs/snippets']
      

      There is no development directory. Suggest it should be:

      exclude_patterns = ['README.rst', '_build', 'docs/snippets']
      

      This causes a warning on build:

      docs/snippets/figure.rst:None: WARNING: duplicate label fig-example-figure-label
      

        Attachments

          Activity

          swinbank John Swinbank created issue -
          Hide
          jsick Jonathan Sick added a comment -

          Thanks, looks like this warning only appears with Sphinx 1.4 (the Guide's requirements.txt is currently pinned at 1.3.1). The bug was introduced in the project refactoring.

          Show
          jsick Jonathan Sick added a comment - Thanks, looks like this warning only appears with Sphinx 1.4 (the Guide's requirements.txt is currently pinned at 1.3.1). The bug was introduced in the project refactoring.
          Hide
          jsick Jonathan Sick added a comment -

          Fixes the warning with your suggested correction.

          Show
          jsick Jonathan Sick added a comment - Fixes the warning with your suggested correction.
          jsick Jonathan Sick made changes -
          Field Original Value New Value
          Reviewers John Swinbank [ swinbank ]
          Status To Do [ 10001 ] In Review [ 10004 ]
          Hide
          swinbank John Swinbank added a comment -

          Good to go.

          Show
          swinbank John Swinbank added a comment - Good to go.
          swinbank John Swinbank made changes -
          Status In Review [ 10004 ] Reviewed [ 10101 ]
          jsick Jonathan Sick made changes -
          Epic Link DM-5403 [ 23210 ]
          jsick Jonathan Sick made changes -
          Story Points 0.1
          jsick Jonathan Sick made changes -
          Resolution Done [ 10000 ]
          Status Reviewed [ 10101 ] Done [ 10002 ]
          frossie Frossie Economou made changes -
          Epic Link DM-5403 [ 23210 ] DM-6198 [ 24714 ]

            People

            • Assignee:
              jsick Jonathan Sick
              Reporter:
              swinbank John Swinbank
              Reviewers:
              John Swinbank
              Watchers:
              John Swinbank, Jonathan Sick
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel