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

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

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