Page MenuHomeSoftware Heritage

Fix the sphinx config
ClosedPublic

Authored by douardda on Nov 6 2020, 10:26 AM.

Details

Summary

Commit 455d780c did add the:

extensions = ["sphinx.ext.autosectionlabel"]

which provoques 2 problems:

  • previous extensions (from swh.doc) are disabled,
  • this autosectionlabel extension does produces a lot of "duplicate label" warnings.

So get rid of this line in conf.py and use explicit labels in
spec-meta-deposit.rst.

Also fix an indentation problem in this file.

Diff Detail

Repository
rDDEP Push deposit
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Nov 6 2020, 10:27 AM

Build is green

Patch application report for D4425 (id=15673)

Rebasing onto eee3e48ad6...

Current branch diff-target is up to date.
Changes applied before test
commit 0f4ec31168f69f75ba446392f91dbd3da167ff12
Author: David Douard <david.douard@sdfa3.org>
Date:   Fri Nov 6 10:19:51 2020 +0100

    Fix the sphinx config
    
    Commit 455d780c did add the:
    
      extensions = ["sphinx.ext.autosectionlabel"]
    
    which provoques 2 problems:
    - previous extensions (from swh.doc) are disabled,
    - this autosectionlabel extension does produces a lot of "duplicate label"
      warnings.
    
    So get rid of this line in conf.py and use explicit labels in
    spec-meta-deposit.rst.
    
    Also fix an indentation problem in this file.

See https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/279/ for more details.

This revision was automatically updated to reflect the committed changes.