Skip to content

Commit

Permalink
update document title for SEO (microsoft#1920)
Browse files Browse the repository at this point in the history
  • Loading branch information
squirrelsc authored Jan 6, 2020
1 parent 70cee7d commit ae81ec4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
10 changes: 6 additions & 4 deletions docs/en_US/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
# 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.
#
from recommonmark.transform import AutoStructify
from recommonmark.parser import CommonMarkParser
import os
import sys
sys.path.insert(0, os.path.abspath('../../src/sdk/pynni'))

from recommonmark.parser import CommonMarkParser
from recommonmark.transform import AutoStructify

# -- Project information ---------------------------------------------------

project = 'Neural Network Intelligence'
project = 'NNI'
copyright = '2020, Microsoft'
author = 'Microsoft'

Expand Down Expand Up @@ -109,6 +109,8 @@
# html_sidebars = {}

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 ---------------------------------------------

Expand Down Expand Up @@ -190,6 +192,6 @@ def setup(app):
app.add_config_value('recommonmark_config', {
'enable_eval_rst': True,
'enable_auto_toc_tree': False,
}, True)
}, True)
app.add_transform(AutoStructify)
app.add_stylesheet('css/custom.css')
6 changes: 3 additions & 3 deletions docs/en_US/index.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#########################################
Neural Network Intelligence Documentation
#########################################
###########################
Neural Network Intelligence
###########################

********
Contents
Expand Down

0 comments on commit ae81ec4

Please sign in to comment.