Skip to content

Add a 'docs-doc2dash' Tox target. - #1702

Merged
tseaver merged 2 commits into
googleapis:masterfrom
tseaver:docs-add_doc2dash_tox_target
Sep 26, 2016
Merged

Add a 'docs-doc2dash' Tox target.#1702
tseaver merged 2 commits into
googleapis:masterfrom
tseaver:docs-add_doc2dash_tox_target

Conversation

@tseaver

Copy link
Copy Markdown
Contributor

Generates a Dash-style docset from the Sphinx-rendered HTML using doc2dash.

I've copied the docset manually into my Zeal library, and it looks pretty good.

Follow-up to my comment on #1690.

@tseavertseaver added the docs label Apr 7, 2016
@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 7, 2016
@dhermes

Copy link
Copy Markdown
Contributor

Do we actually need this?

@jgeewax

Copy link
Copy Markdown
Contributor

Yea - confused. What's the goal ?

@tseaver

Copy link
Copy Markdown
ContributorAuthor

The goal is to generate Dash-compatible docsets, to allow developers to import the docs into their offline API docs (searchable/readable via Dash, Zeal, etc.): I was trying to address one of the problems with just expecting people to read the online docs.

@daspecster

Copy link
Copy Markdown
Contributor

I know a decent number of people that use Dash. If this works as is and is low maintenance, I vote to use it.

@dhermes

Copy link
Copy Markdown
Contributor

@tseaver Shall we close this PR?

Generates a Dash-style docset from the Sphinx-rendered HTML.
@tseaver

Copy link
Copy Markdown
ContributorAuthor

I've rebased it to resolve the conflict in .gitignore.

If we automated building the Dash docsets and pushing them to Dash as part of our tag-release deployment, that seems like a low-cost win to me: users who like using offline docs will be able to consume them with their preferred tool.

Comment threadtox.ini Outdated
PYTHONPATH = {toxinidir}/_testing
basepython = {[testenv:docs]basepython}
commands =
sphinx-build -W -b html -d docs/_build_doc2dash/doctrees docs docs/_build_doc2dash/html

This comment was marked as spam.

@dhermes

Copy link
Copy Markdown
Contributor

@tseaver Feel free to merge when my request is addressed.

Are you going to automate the process of creating and publishing this target?

Replace 'gcloud-python' with 'google-cloud-python' in docset name.
@tseaver
tseaver merged commit 4258b76 into googleapis:masterSep 26, 2016
@tseaver
tseaver deleted the docs-add_doc2dash_tox_target branch September 26, 2016 15:03
@tseaver

Copy link
Copy Markdown
ContributorAuthor

Are you going to automate the process of creating and publishing this target?

I'm thinking about it. There seem to be two options:

Automating the first seems quite feasible; the second seems infeasible.

atulep pushed a commit that referenced this pull request Apr 6, 2023
…udPlatform/python-docs-samples#1702)
* Update enhanced models and auto punctuation to GA
* Update model-slection to GA
atulep pushed a commit that referenced this pull request Apr 6, 2023
…udPlatform/python-docs-samples#1702)
* Update enhanced models and auto punctuation to GA
* Update model-slection to GA
atulep pushed a commit that referenced this pull request Apr 18, 2023
…udPlatform/python-docs-samples#1702)
* Update enhanced models and auto punctuation to GA
* Update model-slection to GA
parthea pushed a commit that referenced this pull request Oct 22, 2023
…udPlatform/python-docs-samples#1702)
* Update enhanced models and auto punctuation to GA
* Update model-slection to GA
parthea added a commit that referenced this pull request Nov 24, 2025
* chore(deps): update all dependencies
* revert
---------
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yesThis human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@tseaver@dhermes@jgeewax@daspecster@googlebot