-
Notifications
You must be signed in to change notification settings - Fork 53
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
Fixing docs warnings #35
base: main
Are you sure you want to change the base?
Conversation
Before merging this pull request, These pull requests google/globalfoundries-pdk-ip-gf180mcu_fd_ip_sram#5 and google/globalfoundries-pdk-libs-gf180mcu_fd_io#2 should be merged first to solve 7 warnings found in this build https://gf180mcu-pdk--35.org.readthedocs.build/en/35/ |
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.
I approve this change per @mithro request the files has been moved to a different location.
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.
This change will need to be rebased onto the latest changes which have been merged.
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.
You should add fail_on_warning: true
flag back to the .readthedocs.yml
file since I ended up removing that from #31 (comment)
docs/conf.py
Outdated
@@ -53,7 +53,7 @@ | |||
# ones. | |||
extensions = [ | |||
'sphinx.ext.autodoc', | |||
'sphinx.ext.autosectionlabel', |
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 is this extension disabled? I think we want to make sure that every section has a label?
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.
Because it introduces warnings on duplicate labels. I have added suppressor instead.
@@ -3,17 +3,17 @@ | |||
Welcome to GlobalFoundries 0.18UM 3.3V/(5V)6V MCU PDK's documentation! | |||
**************************************************************************** | |||
|
|||
.. include:: common.inc |
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.
I don't think this remove is needed any more?
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.
Duplicate thus produce warning.
17639b3
to
4a8f345
Compare
4a8f345
to
387b34c
Compare
Renamed the extension of role as in google/open-source-pdks#18 |
387b34c
to
b21704f
Compare
Added exclusion of |
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.
Change looks pretty good?
Bunch of things;
- I think this needs the same changes as found in docs: Make config version 2. open-source-pdks#22
- Can you rebase this change?
- Why did you change the symlink to not include the
docs
directory?
The docs build is also failing with
|
@@ -120,6 +121,11 @@ | |||
'venv', | |||
'Thumbs.db', | |||
'.DS_Store', | |||
'.vscode', | |||
'IPs/**/code-of-conduct.rst', |
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.
Can you just drop the IPs bit? IE Just **/code-of-conduct.rst
?
Fixes #20