Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

generate yang docs (with improved css) #12

Open
hellt opened this issue Feb 1, 2022 · 0 comments
Open

generate yang docs (with improved css) #12

hellt opened this issue Feb 1, 2022 · 0 comments

Comments

@hellt
Copy link
Member

hellt commented Feb 1, 2022

the oc-yang plugin can generate nice html docs for yang models as shown here
http://ops.openconfig.net/branches/models/telemetry-version/docs/openconfig-acl.html

we can improve the css styling and make it a beautifully looking add-on to this yang browser

https://github.com/openconfig/oc-pyang

pyang --plugindir ${YANG_PLUGINS} -f docs --doc-format html [PATH_TO_YANG_FILES]

https://github.com/openconfig/oc-pyang/blob/master/openconfig_pyang/plugins/yangdoc.py

/cc @siva19susi

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant