On Tuesday, July 20, 2021 at 6:12:59 PM UTC+8 [email protected] wrote:

> Hi everyone, 
>
> I'm very new to Sphinx. I'm wondering if anyone can help me resolve an 
> issue regarding the generation of my Index page. I am operating on MacOS.
>
> I have, at the top of my index.rst file: 
>
> .. _search: 
> .. _genindex: 
>
> And, at the bottom: 
>
> Indices and Tables 
> =================
>
> * :ref:`search`
>
> * :ref:`genindex`
>
>
> However, my terminal issues me with the error message: 
>
> 'Failed to create a cross reference. A title or caption not found: 
> genindex'
>
> and the same for 'search' 
>
 
Hi hamillp...,

If you reference target is not title/sectiontitle/... you might want to use
"Internal hyperlink targets with empty link blocks" [1]_

Here is an example (contact me if it is expired)
https://paste.rs/3VZ.rst

.. [1] 
https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#internal-hyperlink-targets

2021-07-30
Darren Ng
 

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/f423d312-b519-4276-b5ed-12ceed322e3an%40googlegroups.com.

Reply via email to