-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix the Warnings in rst files when building Qlib's documentation #1349
Fix the Warnings in rst files when building Qlib's documentation #1349
Conversation
@microsoft-github-policy-service agree |
@@ -18,7 +18,7 @@ With this module, users can run their ``task`` automatically at different period | |||
|
|||
This whole process can be used in `Online Serving <../component/online.html>`_. | |||
|
|||
An example of the entire process is shown `here <https://github.com/microsoft/qlib/tree/main/examples/model_rolling/task_manager_rolling.py>`_. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why two underscores are necessary here?
I didn't find any reference in rst docs
Could you please share me any related references?
Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous version (with one underscore) raises WARNING: Duplicate explicit target name: "...".
, I found the solution here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MaximSmolskiy
It really helpful to me.
Thanks!
I think docs/developer/code_standard_and_dev_guide.rst should be included in the Files in hidden ( |
Would you like to update it in this PR? |
I will try to do it in this PR soon |
@you-n-g Now there are no warnings left with |
It looks great. |
4a3f228
to
7f221a5
Compare
docs/index.rst
Outdated
@@ -30,6 +30,11 @@ Document Structure | |||
Data Retrieval <start/getdata.rst> | |||
Custom Model Integration <start/integration.rst> | |||
|
|||
.. toctree:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think it will be more reasonable to put it before REFERENCE
: and after OTHER COMPONENTS/FEATURES/TOPICS:
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
It looks great! |
…rosoft#1349) * Fix docs/advanced/alpha.rst * Fix docs/reference/api.rst * Fix docs/component/strategy.rst * Fix docs/start/integration.rst * Fix docs/component/report.rst * Fix docs/component/data.rst * Fix docs/component/rl/framework.rst * Fix docs/introduction/quick.rst * Fix docs/advanced/task_management.rst * Fix CHANGES.rst * Fix docs/developer/code_standard_and_dev_guide.rst * Fix docs/hidden/client.rst * Fix docs/component/online.rst * Fix docs/start/getdata.rst * Add docs/hidden to exclude patterns * Add docs/developer/code_standard_and_dev_guide.rst to index.rst * Change docs/developer/code_standard_and_dev_guide.rst place in index.rst
…rosoft#1349) * Fix docs/advanced/alpha.rst * Fix docs/reference/api.rst * Fix docs/component/strategy.rst * Fix docs/start/integration.rst * Fix docs/component/report.rst * Fix docs/component/data.rst * Fix docs/component/rl/framework.rst * Fix docs/introduction/quick.rst * Fix docs/advanced/task_management.rst * Fix CHANGES.rst * Fix docs/developer/code_standard_and_dev_guide.rst * Fix docs/hidden/client.rst * Fix docs/component/online.rst * Fix docs/start/getdata.rst * Add docs/hidden to exclude patterns * Add docs/developer/code_standard_and_dev_guide.rst to index.rst * Change docs/developer/code_standard_and_dev_guide.rst place in index.rst
Fix all warnings in
rst
files.Description
Motivation and Context
Related to #1345.
How Has This Been Tested?
pytest qlib/tests/test_all_pipeline.py
under upper directory ofqlib
.Screenshots of Test Results (if appropriate):
Types of changes