Add manually generate PDF documents guideline

Add Javascript guide contents.rst
This commit is contained in:
wikinee
2020-07-29 14:31:44 +08:00
parent d041620a85
commit 5c4030e75f
6 changed files with 32 additions and 9 deletions

View File

@@ -0,0 +1,13 @@
.. 请确保至少包含基本的 `toctree` 指令.
.. _javascript_contents:
Javascript 风格指南 - 内容目录
==========================
.. toctree::
index
background
javascript_language_rules.rst
javascript_style_rules.rst

View File

@@ -1,5 +1,5 @@
Javascript语言规
==========
Javascript语言规
=====================
var关键字
----------------
@@ -116,7 +116,7 @@ js语句要求以分号结尾除非能够正确地推断分号的位置。在
这个错误让人震惊,所以一定要确保用分号结束语句。
澄清:分号和函数
~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~
函数表达式后面要分号结束,但是函数声明就不需要。例如:

View File

@@ -1,5 +1,5 @@
Javascript格式规则
==================
Javascript风格规范
=====================
命名
--------------