[PROJ] Error Building Docs

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[PROJ] Error Building Docs

andrew.bell.ia@gmail.com
I'm getting an error building the documentation:

$ make dirhtml
...
reading sources... [ 11%] development/reference/cpp/cpp_general
Warning, treated as error:
/Users/acbell/proj.4/docs/source/development/reference/cpp/common.rst:6:doxygennamespace: Cannot find file: /Users/acbell/proj.4/docs/build/xml/index.xml

Can someone tell me what I need to do to fix this?

--
Andrew Bell
[hidden email]

_______________________________________________
PROJ mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/proj
Reply | Threaded
Open this post in threaded view
|

Re: Error Building Docs

Even Rouault-2
On mercredi 29 mai 2019 14:19:11 CEST Andrew Bell wrote:

> I'm getting an error building the documentation:
>
> $ make dirhtml
> ...
> reading sources... [ 11%] development/reference/cpp/cpp_general
> Warning, treated as error:
> /Users/acbell/proj.4/docs/source/development/reference/cpp/common.rst:6:doxy
> gennamespace: Cannot find file:
> /Users/acbell/proj.4/docs/build/xml/index.xml
>
> Can someone tell me what I need to do to fix this?

Look at the 'html:' target in docs/Makefile. You probably need to replicate
the hacks done for it in the 'dirhtml:' target


--
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
PROJ mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/proj
Reply | Threaded
Open this post in threaded view
|

Re: Error Building Docs

Mateusz Loskot
In reply to this post by andrew.bell.ia@gmail.com
On 19-05-29 14:19:11, Andrew Bell wrote:
>I'm getting an error building the documentation:
>
>$ make dirhtml
>...
>reading sources... [ 11%] development/reference/cpp/cpp_general
>Warning, treated as error:
>/Users/acbell/proj.4/docs/source/development/reference/cpp/common.rst:6:doxygennamespace:
>Cannot find file: /Users/acbell/proj.4/docs/build/xml/index.xml

Unlike html target [1], the dirhtml [2] does not seem to be depending on the
target running doxygen to generate the XML.

>
>Can someone tell me what I need to do to fix this?

Run make html first? Or ../scripts/doxygen.sh [3]

[1] https://github.com/OSGeo/proj.4/blob/master/docs/Makefile#L60
[2] https://github.com/OSGeo/proj.4/blob/master/docs/Makefile#L71
[3] https://github.com/OSGeo/proj.4/blob/master/docs/Makefile#L55

Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Fingerprint=C081 EA1B 4AFB 7C19 38BA  9C88 928D 7C2A BB2A C1F2
_______________________________________________
PROJ mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/proj