Bug 31658

Summary: [DOCS] Update conf.py to remove sphinx.ext.autosectionlabel
Product: Koha Reporter: David Nind <david>
Component: DocumentationAssignee: Caroline Cyr La Rose <caroline.cyr-la-rose>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: caroline.cyr-la-rose
Version: Main   
Hardware: All   
OS: All   
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:
Bug Depends on: 31657    
Bug Blocks:    

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