Skip to content

Commit

Permalink
add pangu.js for space between Chinese and English
Browse files Browse the repository at this point in the history
  • Loading branch information
snowkylin committed Aug 23, 2019
1 parent 378df7d commit 955cc9d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -8,4 +8,5 @@ __pycache__/
source/.vscode
source/_future
source/_static/code/.idea
source/_static/code/zh/tools/tfdata/cat_and_dog
source/_static/code/zh/tools/tfdata/cat_and_dog
source/_static/code/zh/savedmodel/server.log
2 changes: 1 addition & 1 deletion .vscode/settings.json
Expand Up @@ -2,6 +2,6 @@
"restructuredtext.builtDocumentationPath": "build/html",
"restructuredtext.updateOnTextChanged" : "true",
"restructuredtext.sphinxBuildPath": "sphinx-build",
"python.pythonPath": "C:\\Users\\xihan\\Anaconda3\\envs\\tf2.0-beta\\python.exe",
"python.pythonPath": "C:\\Users\\xihan\\AppData\\Local\\Continuum\\anaconda3\\envs\\tf2.0-beta\\python.exe",
"restructuredtext.confPath": "c:\\Users\\xihan\\Desktop\\TensorFlow-cn\\source"
}
9 changes: 9 additions & 0 deletions source/_static/js/pangu.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions source/conf.py
Expand Up @@ -31,7 +31,8 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [ 'sphinx.ext.mathjax', 'sphinx.ext.intersphinx' ]
# imgmath or mathjax
extensions = [ 'sphinx.ext.imgmath', 'sphinx.ext.intersphinx' ]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand Down Expand Up @@ -113,7 +114,8 @@

def setup(app):
app.add_stylesheet( "css/custom.css" )
app.add_javascript( "js/custom.js" )
app.add_javascript( "js/pangu.min.js" )
app.add_javascript( "js/custom.js" )

# -- Options for HTMLHelp output ------------------------------------------

Expand Down

0 comments on commit 955cc9d

Please sign in to comment.