Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

running the code snippets from the documentation #3

Closed
singuliere opened this issue Feb 26, 2019 · 9 comments
Closed

running the code snippets from the documentation #3

singuliere opened this issue Feb 26, 2019 · 9 comments

Comments

@singuliere
Copy link
Collaborator

@jeffwecan wrote

On the sphinx front, I've actually spent the bulk of my hvac development time over the past month or so implementing doctest after receiving a good deal of documentation typo reports. So I'd recommend checking out that extension if you're interested. I have been pretty pleased with it thus far! https://www.sphinx-doc.org/en/master/usage/extensions/doctest.html

@singuliere
Copy link
Collaborator Author

I'll definitely use that, thanks for the hint :-)

@singuliere singuliere added this to the 1.1.0 milestone Feb 27, 2019
@singuliere singuliere changed the title using doctest running the code snippets from the documentation Feb 28, 2019
@singuliere
Copy link
Collaborator Author

Since these are shell snippets, doctest is not the right fit. Writing Technical Documentation with Sphinx, Paver, and Cog suggests cog would be a good fit. But it looks like it has not been updated in years.

@singuliere
Copy link
Collaborator Author

singuliere commented Feb 28, 2019

autorun or shell-doctest are almost good but not maintained. I've used cram and the experience was good, in the past. But there is no sphinx extension and it's not been updated in three years.

@singuliere
Copy link
Collaborator Author

@jeffwecan unless you have a suggestion I'm tempted to close this as won't fix. I don't like the idea that example code is untested but if there is no tooling the best we can do is to carefully test manually.

@singuliere
Copy link
Collaborator Author

Ned Batchelder says he still uses cog "to make all my presentations."

@jeffwecan
Copy link
Member

Actually yeah in hindsight that makes a lot of sense. I would categorize this as a nice to have in the first place. So if its not immediately implementable it is fine to close out imho.

@singuliere singuliere removed this from the 1.1.0 milestone Mar 1, 2019
@singuliere
Copy link
Collaborator Author

Let's keep this for later 👍

@singuliere
Copy link
Collaborator Author

For the record cog was recently upgraded and improved

@briantist
Copy link

#17

@briantist briantist closed this as not planned Won't fix, can't repro, duplicate, stale Jul 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@jeffwecan @briantist @singuliere and others