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

Improve web docs #2248

Merged
merged 6 commits into from
Apr 26, 2023
Merged

Improve web docs #2248

merged 6 commits into from
Apr 26, 2023

Conversation

afh
Copy link
Member

@afh afh commented Apr 24, 2023

Improve HTML rendition of Ledger's man page

Unfortunately groff's HTML output of the Ledger man page isn't too readable due to breaks on lines that belong on the same line and with much space between tabbed content. Use of mandoc(1) remedies that

Before with groff After with mandoc
Before After

Generate documentation for Ledger Python module using pydoc

A live preview is available at http://projects.surryhill.net/ledger/ledger.html

Future the documentation of the Ledger Python module and package is probably better generated using sphinx and the autodocs extension. For now the result of pydoc is better than offering no documentation at all.

Exhibit A Exhibit B
image image

ℹ️ For details on the other changes please see the individual commits

@afh afh added documentation Related to the documentation build Build problems labels Apr 24, 2023
@afh afh requested a review from a team April 24, 2023 11:13
@afh afh self-assigned this Apr 24, 2023
@afh afh force-pushed the improve-web-docs branch 7 times, most recently from 7ae9c84 to 5718998 Compare April 25, 2023 19:04
using pydoc when building web docs.

#if !DEBUG_MODE
docstring_options doc_options;
doc_options.disable_cpp_signatures();
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@jwiegley jwiegley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's not to love?

@afh afh merged commit 953985a into ledger:master Apr 26, 2023
@afh afh deleted the improve-web-docs branch April 26, 2023 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build problems documentation Related to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants