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

Automate updating the documents on crmsh.github.io #1374

Closed
nicholasyang2022 opened this issue Mar 27, 2024 · 0 comments
Closed

Automate updating the documents on crmsh.github.io #1374

nicholasyang2022 opened this issue Mar 27, 2024 · 0 comments

Comments

@nicholasyang2022
Copy link
Collaborator

The documents hosted on crmsh.github.io was last updated for crmsh-4.3.

Since crmsh-4.3, the document has been separated into 2 parts, one is in crmsh.8.adoc and another is from crm <subcommand> --help. The documents on crmsh.github.io is generated only from the former part.

We need to convert the output of crm <subcommand> --help into asciidoc and merge them into crmsh.8.adoc and setup automatic pipelines for updating the website.

nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Mar 27, 2024
liangxin1300 added a commit that referenced this issue Mar 27, 2024
[crmsh-4.6] Dev: ui_context: make help subcommands to exit with 0 (#1374)
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 7, 2024
convert help text generated by python's argparse to asciidoc
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 7, 2024
extracts sections needed to be generated from argparse help from tags in
crm.8.adoc and generates Makefile for building those adocs
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 7, 2024
usage: `podman run --rm -ti -v <crmsh source root dir>:/opt/crmsh local/crmsh-doc-builder:latest`
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 7, 2024
…oc (ClusterLabs#1374)

To generate a complete document, those sections generated from argparse
help needed to be included from crm.8.adoc
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 7, 2024
`make all` now generates crm.8.html.
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 8, 2024
convert help text generated by python's argparse to asciidoc
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 8, 2024
extracts sections needed to be generated from argparse help from tags in
crm.8.adoc and generates Makefile for building those adocs
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 8, 2024
usage: `podman run --rm -ti -v <crmsh source root dir>:/opt/crmsh local/crmsh-doc-builder:latest`
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 8, 2024
…oc (ClusterLabs#1374)

To generate a complete document, those sections generated from argparse
help needed to be included from crm.8.adoc
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 8, 2024
`make all` now generates crm.8.html.
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 10, 2024
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 10, 2024
a preprocessor for asciidoc inlcude directive to generate an all-in-one
adoc file
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 10, 2024
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 10, 2024
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 10, 2024
nicholasyang2022 added a commit that referenced this issue Apr 11, 2024
[crmsh-4.6] Dev: doc: implement help2adoc (#1374)
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 11, 2024
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 11, 2024
a preprocessor for asciidoc inlcude directive to generate an all-in-one
adoc file
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 11, 2024
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 11, 2024
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 11, 2024
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 11, 2024
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 11, 2024
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 11, 2024
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 11, 2024
and delegate document building to doc/Makefile.
liangxin1300 added a commit that referenced this issue Apr 11, 2024
[crmsh-4.6] Dev: doc/website-v1: add man-4.6 (#1374)
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 11, 2024
convert help text generated by python's argparse to asciidoc
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 11, 2024
extracts sections needed to be generated from argparse help from tags in
crm.8.adoc and generates Makefile for building those adocs
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 11, 2024
usage: `podman run --rm -ti -v <crmsh source root dir>:/opt/crmsh local/crmsh-doc-builder:latest`
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 11, 2024
…oc (ClusterLabs#1374)

To generate a complete document, those sections generated from argparse
help needed to be included from crm.8.adoc
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 11, 2024
`make all` now generates crm.8.html.
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 11, 2024
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 11, 2024
a preprocessor for asciidoc inlcude directive to generate an all-in-one
adoc file
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 11, 2024
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 11, 2024
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 11, 2024
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 11, 2024
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 11, 2024
and delegate document building to doc/Makefile.
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 17, 2024
convert help text generated by python's argparse to asciidoc
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 17, 2024
extracts sections needed to be generated from argparse help from tags in
crm.8.adoc and generates Makefile for building those adocs
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 17, 2024
usage: `podman run --rm -ti -v <crmsh source root dir>:/opt/crmsh local/crmsh-doc-builder:latest`
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 17, 2024
…oc (ClusterLabs#1374)

To generate a complete document, those sections generated from argparse
help needed to be included from crm.8.adoc
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 17, 2024
`make all` now generates crm.8.html.
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 17, 2024
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 17, 2024
a preprocessor for asciidoc inlcude directive to generate an all-in-one
adoc file
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 17, 2024
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 17, 2024
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 17, 2024
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 17, 2024
liangxin1300 added a commit that referenced this issue Apr 22, 2024
…port-master

Dev: doc: implement help2adoc (#1374)
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Apr 28, 2024
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

No branches or pull requests

1 participant