I tried to build mindspore documentation by following the instructions. However, there are lots of warnings showing up after completing the buliding. For example:
WARNING: html_static_path entry '_static' does not exist
ModuleNotFoundError: No module named 'mindspore.dataset.config'
viewcode can't import mindspore.dataset.config, failed with error "No module named 'mindspore.dataset.config'"
...
Didn't find mindspore.communication.HCCL_WORLD_COMM_GROUP in mindspore.communication
WARNING: Failed to get a function signature for mindspore.numpy.mgrid: <mindspore.numpy.array_creations.MGridClass object at 0x7965eb26e510> is not a callable object
WARNING: Failed to get a function signature for mindspore.numpy.ogrid: <mindspore.numpy.array_creations.OGridClass object at 0x7965eb26e550> is not a callable object
/home/hwhsu1231/Repo/testing/mindspore-docs/.venv/lib/python3.7/site-packages/mindspore/ops/function/debug_func.py:docstring of mindspore.ops.function.debug_func.print_:: ERROR: Unknown target name: "print".
/home/hwhsu1231/Repo/testing/mindspore-docs/docs/mindspore/source_en/api_python/samples/dataset/dataset_gallery.ipynb: WARNING: document isn't included in any toctree
/home/hwhsu1231/Repo/testing/mindspore-docs/docs/mindspore/source_en/api_python/samples/dataset/text_gallery.ipynb: WARNING: document isn't included in any toctree
/home/hwhsu1231/Repo/testing/mindspore-docs/docs/mindspore/source_en/api_python/samples/dataset/vision_gallery.ipynb: WARNING: document isn't included in any toctree
/home/hwhsu1231/Repo/testing/mindspore-docs/docs/mindspore/source_en/api_python/samples/ops/communicate_ops.md: WARNING: document isn't included in any toctree
/home/hwhsu1231/Repo/testing/mindspore-docs/docs/mindspore/source_en/api_python/samples/rewrite/rewrite_tutorial.md: WARNING: document isn't included in any toctree
/home/hwhsu1231/Repo/testing/mindspore-docs/docs/mindspore/source_en/design/mindir.md: WARNING: document isn't included in any toctree
/home/hwhsu1231/Repo/testing/mindspore-docs/docs/mindspore/source_en/note/api_mapping/pytorch_diff/AGNEWS.md: WARNING: document isn't included in any toctree
/home/hwhsu1231/Repo/testing/mindspore-docs/docs/mindspore/source_en/note/api_mapping/pytorch_diff/AdaMax.md: WARNING: document isn't included in any toctree
/home/hwhsu1231/Repo/testing/mindspore-docs/docs/mindspore/source_en/note/api_mapping/pytorch_diff/Adagrad.md: WARNING: document isn't included in any toctree
...
Describe the expected behavior
No warning showed up. And the sphinx theme should be the same as MindSpore website.
Steps to reproduce the issue
Clone the mindspore/docs repository:
git clone --depth=1 --branch=r2.2 https://gitee.com/mindspore/docs.git mindspore-docs
cd mindspore-docs
Environment
Hardware Environment(
Ascend
/GPU
/CPU
):/device cpu
Software Environment:
2.2.14
(r2.2
branch)3.7.12
Describe the current behavior
I tried to build mindspore documentation by following the instructions. However, there are lots of warnings showing up after completing the buliding. For example:
Describe the expected behavior
No warning showed up. And the sphinx theme should be the same as MindSpore website.
Steps to reproduce the issue
Clone the
mindspore/docs
repository:Create and activate the Conda Environment:
Clone the
mindspore/mindspore
repository and setMS_PATH
environment variable:Install pandoc and mindspore by conda:
Install regex and requirements.txt by pip:
Build English HTML Documentation:
Related log / screenshot
log-build-mindspore-docs-wanrings.txt
Special notes for this issue