From 874c31b4382948d96aade89dcc726cfc115a4c34 Mon Sep 17 00:00:00 2001 From: Ben Webb Date: Wed, 21 Jun 2023 20:00:05 +0100 Subject: [PATCH] Add CoVE link to the navigation https://github.com/Open-Telecoms-Data/open-fibre-data-standard/issues/198 --- docs/_static/custom.css | 12 ++++++++++++ docs/_templates/layout.html | 11 +++++++++-- docs/history/changelog.md | 1 + 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 docs/_static/custom.css diff --git a/docs/_static/custom.css b/docs/_static/custom.css new file mode 100644 index 0000000..dca9544 --- /dev/null +++ b/docs/_static/custom.css @@ -0,0 +1,12 @@ +/* + Copied from + https://github.com/readthedocs/sphinx_rtd_theme/blob/9899ee4ee2f547f81e51297dc12317f018e62fdd/src/sass/_theme_rst.sass#L44-L51 + which only applies to rst-content. +*/ +.ofds-extra-nav a.reference.external::after { + font-family: FontAwesome; + content: "\f08e"; + vertical-align: super; + font-size: 60%; + margin: 0 0.2em; +} diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 52e7102..2e85f0a 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -1,3 +1,10 @@ {% extends "!layout.html" %} -{% set css_files = css_files + ["_static/renderjson.css", "_static/jsonschema.css"] %} -{% set script_files = script_files + ["_static/renderjson.js", "_static/json-example-format.js"] %} \ No newline at end of file +{% set css_files = css_files + ["_static/custom.css", "_static/renderjson.css", "_static/jsonschema.css"] %} +{% set script_files = script_files + ["_static/renderjson.js", "_static/json-example-format.js"] %} + +{% block menu %} +{{ super() }} + +{% endblock %} diff --git a/docs/history/changelog.md b/docs/history/changelog.md index fbace73..f4025ba 100644 --- a/docs/history/changelog.md +++ b/docs/history/changelog.md @@ -21,6 +21,7 @@ Iterative improvements are made outside of the release cycle. They do not involv - [#208](https://github.com/Open-Telecoms-Data/open-fibre-data-standard/pull/208) - Add link to "WGS 84" text in docs/reference/schema.md. - [#213](https://github.com/Open-Telecoms-Data/open-fibre-data-standard/pull/213) - For GeoJSON/JSON conversion, use libcoveofds now. - [#232](https://github.com/Open-Telecoms-Data/open-fibre-data-standard/pull/232) - Remove unmaintained GitHub issue admonitions. +- [#273](https://github.com/Open-Telecoms-Data/open-fibre-data-standard/pull/273) - Add OFDS Convert, Validate, Explore tool (CoVE) link to the left hand navigation ## 0.3.0 - 2023-05-17