Commit 6e708a76 authored by Francisco-Javier Ramon Salguero's avatar Francisco-Javier Ramon Salguero
Browse files

Updates to sphinx files to improve HTML layout; added OSM SVG logo

parents 1e4d352c 0be8d266
Loading
Loading
Loading
Loading

_static/style.css

0 → 100644
+3 −0
Original line number Diff line number Diff line
.wy-nav-content {
    max-width: 1200px !important;
}

_templates/layout.html

0 → 100644
+4 −0
Original line number Diff line number Diff line
{% extends "!layout.html" %}
{% block extrahead %}
    <link href="{{ pathto("_static/style.css", True) }}" rel="stylesheet" type="text/css">
{% endblock %}

assets/osm_logo.svg

0 → 100644
+59 −0

File added.

Preview size limit exceeded, changes collapsed.

+22 −0
Original line number Diff line number Diff line
@@ -66,8 +66,30 @@ exclude_patterns = ['_build', 'TO-BE-MOVED-TO-OTHER-REPOS', 'Thumbs.db', '.DS_St
#html_theme = 'pyramid'
#html_theme = 'bizstyle'
html_theme = 'sphinx_rtd_theme'
#html_theme = 'neo_rtd_theme'
#import sphinx_theme
#html_theme_path = [sphinx_theme.get_html_theme_path()]

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

html_theme_options = {
    'canonical_url': 'https://osm.etsi.org/docs',
    'logo_only': True,
    'display_version': True,
    'prev_next_buttons_location': 'bottom',
    'style_external_links': False,
    #'style_nav_header_background': 'white',
    # Toc options
    'collapse_navigation': True,
    'sticky_navigation': True,
    'navigation_depth': 3,
    'includehidden': True,
    'titles_only': False
}

#html_logo = 'assets/osm_logo.png'
html_logo = 'assets/osm_logo.svg'
+14 −16
Original line number Diff line number Diff line
@@ -7,24 +7,22 @@ Welcome to Open Source MANO's documentation!
============================================

.. toctree::
   :numbered:
   :maxdepth: 2
   :caption: Table of Contents
   :name: mastertoc
   :titlesonly:

   01-quickstart.md
   02-osm-architecture-and-functions.md
   03-installing-osm.md
   04-vim-setup.md
   05-osm-usage.md
   06-osm-platform-configuration.md
   07-what-to-read-next.md
   08-how-to-contribute-to-docs.md
   09-troubleshooting.md
   10-osm-client-commands-reference.md
   11-osm-im.md
   12-osm-nbi.md
   13-openvim-installation.md
   14-tests-for-vim-validation.md
   01-quickstart
   02-osm-architecture-and-functions
   03-installing-osm
   04-vim-setup
   05-osm-usage
   06-osm-platform-configuration
   07-what-to-read-next
   08-how-to-contribute-to-docs
   09-troubleshooting
   10-osm-client-commands-reference
   11-osm-im
   12-osm-nbi
   13-openvim-installation
   14-tests-for-vim-validation