Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown documents can not use chinese link #2402

Closed
typhoonzero opened this issue Jun 7, 2017 · 2 comments
Closed

Markdown documents can not use chinese link #2402

typhoonzero opened this issue Jun 7, 2017 · 2 comments
Assignees

Comments

@typhoonzero
Copy link
Contributor

I used

[Kubernetes分布式训练](../k8s/k8s_distributed_cn.md)

Then travis-ci is building docs using sphinx, then it reported:

Running Sphinx v1.5.6
making output directory...
loading translations [zh_CN]... done
loading pickled environment... not yet created
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 72 source files that are out of date
updating environment: 72 added, 0 changed, 0 removed
/opt/python/2.7.12/lib/python2.7/site-packages/recommonmark/parser.py:280: UserWarning: Unsupported inline type Hardbreak
  warn("Unsupported inline type " + inline.t)
reading sources... [ 72%] howto/usage/cluster/cluster_train_cn                  
Encoding error:
'ascii' codec can't encode characters in position 10-15: ordinal not in range(128)
The full traceback has been saved in /tmp/sphinx-err-Ks_I2T.log, if you want to report the issue to the developers.
make[3]: *** [doc/CMakeFiles/paddle_docs_cn] Error 1
make[2]: *** [doc/CMakeFiles/paddle_docs_cn.dir/all] Error 2
make[1]: *** [doc/CMakeFiles/paddle_docs_cn.dir/rule] Error 2
make: *** [paddle_docs_cn] Error 2
The command "timeout 2580 paddle/scripts/travis/main.sh  # 43min timeout
RESULT=$?; if [ $RESULT -eq 0 ] || [ $RESULT -eq 142 ]; then true; else false; fi;
@matuteiglesias
Copy link

I have the same error with spanish characters. At some point I could ignore it and do make html again, but not anymore. Did you find out what was the problem?

@typhoonzero
Copy link
Contributor Author

No, not for now. You probably need to write a renderer to display that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants