Unverified Commit ae81ec47 authored by Chi Song's avatar Chi Song Committed by GitHub
Browse files

update document title for SEO (#1920)

parent 70cee7d8
...@@ -12,16 +12,16 @@ ...@@ -12,16 +12,16 @@
# add these directories to sys.path here. If the directory is relative to the # add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here. # documentation root, use os.path.abspath to make it absolute, like shown here.
# #
from recommonmark.transform import AutoStructify
from recommonmark.parser import CommonMarkParser
import os import os
import sys import sys
sys.path.insert(0, os.path.abspath('../../src/sdk/pynni')) sys.path.insert(0, os.path.abspath('../../src/sdk/pynni'))
from recommonmark.parser import CommonMarkParser
from recommonmark.transform import AutoStructify
# -- Project information --------------------------------------------------- # -- Project information ---------------------------------------------------
project = 'Neural Network Intelligence' project = 'NNI'
copyright = '2020, Microsoft' copyright = '2020, Microsoft'
author = 'Microsoft' author = 'Microsoft'
...@@ -109,6 +109,8 @@ html_static_path = ['../static'] ...@@ -109,6 +109,8 @@ html_static_path = ['../static']
# html_sidebars = {} # html_sidebars = {}
html_logo = '../img/nni_logo_dark.png' html_logo = '../img/nni_logo_dark.png'
html_title = 'An open source AutoML toolkit for neural architecture search, model compression and hyper-parameter tuning (%s %s)' % \
(project, release)
# -- Options for HTMLHelp output --------------------------------------------- # -- Options for HTMLHelp output ---------------------------------------------
...@@ -190,6 +192,6 @@ def setup(app): ...@@ -190,6 +192,6 @@ def setup(app):
app.add_config_value('recommonmark_config', { app.add_config_value('recommonmark_config', {
'enable_eval_rst': True, 'enable_eval_rst': True,
'enable_auto_toc_tree': False, 'enable_auto_toc_tree': False,
}, True) }, True)
app.add_transform(AutoStructify) app.add_transform(AutoStructify)
app.add_stylesheet('css/custom.css') app.add_stylesheet('css/custom.css')
######################################### ###########################
Neural Network Intelligence Documentation Neural Network Intelligence
######################################### ###########################
******** ********
Contents Contents
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment