1. introduce

good good study ,day day up !

good good study ,day day up !

good good study ,day day up !

good good study ,day day up !oMygod

good good study ,day day up !oMygod

good good study ,day day up !

  • one
  • two three
  • onechild
  • twochild
  1. one
  2. two我是一个ingnew
one
two
_images/c0d.png
Frozen Delights!
Treat Quantity Description
Albatross 2.99 On a stick!
Crunchy Frog 1.49 If we took the bones out, it wouldn’t be crunchy, now would it?
Gannet Ripple 1.99 On a stick!

1.1. read the docs

1.1.2. install

  1. apt install build-essential
  2. apt install python-dev
  3. apt install python-pip
  4. apt install python-setuptools
  5. apt install libxml2-dev
  6. apt install libxslt1-dev
  7. apt install zlib1g-dev
  8. apt install elasticsearch
  9. apt install redis-server
  10. pip install virtualenv
  11. virtualenv rtd && cd rtd
  12. source bin/activate
  13. apt install git
  14. git clone https://github.com/rtfd/readthedocs.org.git
  15. cd readthedocs.org
  16. pip install -r requirements.txt
  17. python manage.py migrate
  18. python manage.py collectstatic
  19. python manage.py loaddata test_data
  20. python manage.py runserver 0.0.0.0:8000
  21. apt install texlive-latex-recommended
  22. apt install texlive-fonts-recommended
  23. apt install texlive-latex-extra
  24. apt install latexmk
  25. make latexpdf LATEXMKOPTS=”-silent”
  26. apt install texlive-xetex
  27. apt install latex-cjk-all

1.1.3. usage

  • install Sphinx

    apt install python-pip -y
    pip install sphinx sphinx-autobuild
    pip install --upgrade pip 安装最新版pip
    mkdir doc && cd doc
    sphinx-quickstart
    make html
    
  • conf.py

    latex_engine=xelatex 解决无法生成pdf问题 texhash 不知道干啥用的 ‘preamble’: ‘’‘

    usepackage{xeCJK} 解决无法显示中文的问题

    ‘’‘