Skip to content

Link to section titles - broken ? #1057

@lutin-malin

Description

@lutin-malin

Hi,

I'm trying to implement a nice pipeline to get documentation to confluence.
Your extension is very much appreciated and doing its job very great.

I'm now struggling to get cross references to work.
Let take this example :

Piece2
######


.. confluence_toc::
   :max-level: 3

Sample Header
****************
Piece1
######

:ref:`ref to label section <test_folder/piece2:sample header>`.

and with the configuration sample :

# conf.py
extensions = ['sphinx.ext.intersphinx',
              'sphinxcontrib.confluencebuilder',
              'sphinx.ext.autosectionlabel']

on confluence, the generated ref hyperlink is :
https://<confluence>/display/<space>/Piece2#Piece2-Sample-Header

while the one working, from the confluence toc :
https://<confluence>/display/<space>/Piece2#Piece2-SampleHeader

The target confluence i'm targeting is the Datacenter 8.5.12.

Am i missing anything ?
I'd really appreciate your help/support on my case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that needs to be fixed

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions