Skip to content

Fix the docs #245

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

Merged
merged 9 commits into from
Feb 23, 2019
Merged

Fix the docs #245

merged 9 commits into from
Feb 23, 2019

Conversation

lowell80
Copy link
Contributor

I found and corrected a number of minor typos and syntax issues in the docs (as hosted at https://splunk-python-sdk.readthedocs.io/en/master/). On this branch Sphinx can now build the docs without any errors. (Specifically 01558e4 fixes the exceptions occurring during the build, which I suspect is what was causing RTD to says that the docs are "failing")

I split the changes into smaller commits so if there's objections to changes they'd be easier to isolate.

Continuation lines after a :param: must be indented.
Return variable name shouldn't be included via :returns:
Also fixed command.conf spelling of "retainsevents" (not "retains events")
- Indentation issues
- Removed ":param:`p`" references.  Just using "``p``" instead.
- Moved splunklib.searchcommands.validators into it's own rst file.  Not sure if
  this best.  But it makes doc generation exceptions stop. :-)
WARNING: Duplicate explicit target name: "search command style guide".

Switched `<>`_ to `<>`__ to links.  Frankly, I don't understand the difference,
but not more complains.
This doesn't seem ideal, but the prior behavior was that the side bar is ONLY
usable on the index.  As soon as you click on the sub-page you can see it's name,
and nothing else.  This makes navigation painful, IMHO.

This seems like an improvements, even if not great.
@shakeelmohamed
Copy link
Contributor

Thanks so much @lowell80 this is an incredible amount of work! We'll keep poking at CI and hope to get this merged shortly

@shakeelmohamed shakeelmohamed changed the base branch from master to develop February 15, 2019 01:29
@shakeelmohamed shakeelmohamed self-assigned this Feb 21, 2019
@shakeelmohamed shakeelmohamed merged commit e30936a into splunk:develop Feb 23, 2019
@shakeelmohamed
Copy link
Contributor

Thanks so much for this work @lowell80!

@lowell80 lowell80 deleted the fix-the-docs branch March 15, 2021 19:36
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.

2 participants