Skip to content

[Bug]: Extension error (sphinx.ext.linkcode) while building docs #24574

@a-sajjad72

Description

@a-sajjad72

Bug summary

while building documentation the execution throws the below error and exit

Extension error (sphinx.ext.linkcode):
Handler <function doctree_read at 0x0000026E71784700> for event 'doctree-read' threw an exception (exception: path is on mount 'C:', start on mount 'E:')
make: *** [Makefile:39: html] Error 2

here is the log of make html

Code for reproduction

followed the documentation for writing matplotlib docs

Actual outcome

reading sources... [ 47%] api/backend_cairo_api
Extension error (sphinx.ext.linkcode):
Handler <function doctree_read at 0x0000026E71784700> for event 'doctree-read' threw an exception (exception: path is on mount 'C:', start on mount 'E:')
make: *** [Makefile:39: html] Error 2

Expected outcome

it should print successfully build documentation and shows the html files in build/html folder

Additional information

requirements.txt file
gcc version : 12.2.0
clang version : 14.0.6
VC++ compiler tools version : 14.34.31933

Operating system

Windows 10 Pro Version 22H2

Matplotlib Version

3.7.0.dev817+g9b7c902fd72e

Matplotlib Backend

agg

Python version

3.10.8

Jupyter version

not installed

Installation

from source (.tar.gz)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions