mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-23 09:41:38 +00:00
moar fixes
This commit is contained in:
20
docs/conf.py
20
docs/conf.py
@ -41,8 +41,15 @@ templates_path = ['_templates']
|
||||
# The suffix(es) of source filenames.
|
||||
# You can specify multiple suffix as a list of string:
|
||||
#
|
||||
#source_suffix = ['.rst', '.md']
|
||||
source_suffix = '.rst'
|
||||
|
||||
from recommonmark.parser import CommonMarkParser
|
||||
|
||||
source_parsers = {
|
||||
'.md': CommonMarkParser,
|
||||
}
|
||||
|
||||
source_suffix = ['.rst', '.md']
|
||||
#source_suffix = '.rst'
|
||||
|
||||
# The master toctree document.
|
||||
master_doc = 'index'
|
||||
@ -173,21 +180,20 @@ texinfo_documents = [
|
||||
|
||||
# ---------------- customizations ----------------------
|
||||
|
||||
# Docker README
|
||||
# for Docker README, below
|
||||
from shutil import copyfile
|
||||
|
||||
copyfile('../DOCKER/README.md', tools_dir+'docker.md')
|
||||
|
||||
# tm-bench and tm-monitor
|
||||
tools_repo = "https://raw.githubusercontent.com/tendermint/tools/"
|
||||
tools_branch = "master"
|
||||
|
||||
tools_dir = "./tools"
|
||||
|
||||
|
||||
if os.path.isdir(tools_dir) != True:
|
||||
os.mkdir(tools_dir)
|
||||
if os.path.isdir(assets_dir) != True:
|
||||
os.mkdir(assets_dir)
|
||||
|
||||
copyfile('../DOCKER/README.md', tools_dir+'/docker.md')
|
||||
|
||||
urllib.urlretrieve(tools_repo+tools_branch+'/tm-bench/README.md', filename=tools_dir+'/benchmarking.md')
|
||||
urllib.urlretrieve(tools_repo+tools_branch+'/tm-monitor/README.md', filename=tools_dir+'/monitoring.md')
|
||||
|
Reference in New Issue
Block a user