Skip to content
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

docs: Fix cross-references and kill Sphinx warnings #200

Merged
merged 114 commits into from
Aug 29, 2022
Merged

Conversation

ericf-firebolt
Copy link
Contributor

@ericf-firebolt ericf-firebolt commented Aug 25, 2022

There were some broken links in the docs, mostly to do with autosectionlabel and bad cross-references. When I started to fix those I realized there were a lot of warnings being generated by sphinx-build. In addition to fixing the bad cross-references, I eliminated (almost) all of the sphinx-build warnings.

Changes:

  1. I shortened the line lengths to both make diffs easier and so that I wouldn't have to turn on line wrapping.

  2. There are a lot of changes in the whitespace. I didn't like the look of the indenting in the code sections, so I changed the tabs to four spaces each.

  3. There are still two issues with autodoc claiming that it can find more than one reference for a cross-reference in some docstrings. There doesn't seem to be a nice way to fix that without changing the function signatures, so I'm ignoring it for now.

  4. This also includes an edit to conf.py to force document names to be prepended to section heads when creating automatic section labels. That allows us to use autosectionlabel but eliminates the voluminous warnings about duplicated section labels. As an adjunct, it also made it easier for me to insure I was using the section in the correct file when cross-referencing.

ericf-firebolt and others added 30 commits July 8, 2022 11:52
…r, . Added a slot and getter for query_id to BaseCursor. (Temporarily?) edited setup.cfg to ignore flake8 C901: function is too complex.
…tures. Edited callbacks and various tiny things in async test_cursor.py.
…uery. Changed AsyncExecutionUnavailableError to generically accept messages.
…han being sent in as an argument to execute(). Moved set parameter validation to its own function to deal with flake8 complaints re _do_exectute() being too complex.
…s.py and into conftest.py. Currently name not defined error. Maybe it's in the wrong conftest file?
…d. Also shortened a bunch of line lengths in the docs for easier diffing and better legibility when not using line wrapping.
@sonarcloud
Copy link

sonarcloud bot commented Aug 25, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@ericf-firebolt ericf-firebolt changed the title Fix docs links docs: Fix cross-references and kill Sphinx warnings Aug 25, 2022
@FireboltCorey FireboltCorey merged commit 3b4db72 into main Aug 29, 2022
@FireboltCorey FireboltCorey deleted the fix-docs-links branch August 29, 2022 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants