| from docs_conf.conf import * |
| doc_onap_url = 'https://docs.onap.org' |
| intersphinx_mapping['onap-doc'] = ('{}/en/%s'.format(doc_onap_url) % branch, None) |
| def prepare_rst_epilog(): |
| if git_branch == 'latest': |
| .. |sdc-helm-validator-open-api| replace:: SDC Helm Validator OpenAPI.yaml |
| .. _sdc-helm-validator-open-api: https://gerrit.onap.org/r/gitweb?p=sdc/sdc-helm-validator.git;a=blob_plain;f=OpenAPI.yaml;hb=refs/heads/{branch} |
| """.format(branch=git_branch) |
| rst_epilog = prepare_rst_epilog() |
| html_last_updated_fmt = '%d-%b-%y %H:%M' |
| app.add_stylesheet("css/ribbon.css") |