Bug 31658 - [DOCS] Update conf.py to remove sphinx.ext.autosectionlabel
Summary: [DOCS] Update conf.py to remove sphinx.ext.autosectionlabel
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Documentation (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Caroline Cyr La Rose
QA Contact: Testopia
URL:
Keywords:
Depends on: 31657
Blocks:
  Show dependency treegraph
 
Reported: 2022-09-29 20:07 UTC by David Nind
Modified: 2023-06-08 22:26 UTC (History)
1 user (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact: Caroline Cyr La Rose
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Nind 2022-09-29 20:07:10 UTC
First step to reducing the duplicate label warning messages is to remove the 'phinx.ext.autosectionlabel', setting in conf.py.
Comment 1 Caroline Cyr La Rose 2022-09-29 20:24:59 UTC
Hi David, 

Thanks for creating the bugs!

I think we should wait a bit before removing the autosectionlabel as it will break all the references to system preferences. 

Maybe wait until we're a bit more advanced in the change?

Caroline
Comment 2 David Nind 2022-09-29 20:31:00 UTC
Good idea Caroline!

I've just changed it locally to test and the number of warnings shot up to 1244!

David
Comment 3 Caroline Cyr La Rose 2022-10-03 16:40:10 UTC
I created a merge request for this!

https://gitlab.com/koha-community/koha-manual/-/merge_requests/593

I tried to build a manual with all my latest changes and there are only two warnings left, both in the valuebuilder chapter.
Comment 4 David Nind 2022-10-04 13:20:38 UTC
Thanks Caroline!

Now merged, and no output errors when generating the manual!

David