22 Commits

Author SHA1 Message Date
Peter Kokot
be010b4435 Sync final newlines
- Redundant final newlines trimmed into one
- Missing final newlines added where can be added

According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character although not
mandatory.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
2018-10-01 20:21:21 +02:00
Peter Kokot
97bef5c032 Trim trailing whitespace 2018-09-21 02:44:25 +02:00
Nikita Popov
7741beb3af Add sample git pre-commit hook 2017-09-26 10:53:52 +02:00
ekinhbayar
993ab3eb81 Fix markdown and grammar tool 2017-09-17 15:41:02 +02:00
Alexey Pyltsyn
3b9976878b Fix markdown headings 2017-05-05 18:20:40 +02:00
Nikita Popov
ae3a7639a0 Fix grammar markup
Instead of <a name=""> use id attribute on <i> tag of the
definition.
2016-11-26 14:58:42 +01:00
Nikita Popov
512a016a74 Implement grammar rendering + render grammar 2016-11-26 13:26:11 +01:00
Nikita Popov
f550b7423d Add $skipFiles to spec_files() 2016-11-25 18:36:40 +01:00
Nikita Popov
0fd1786650 Improve check_refs
Handle manual anchor. Return exit code.
2016-11-15 22:44:02 +01:00
Nikita Popov
a6ae806a1f Remove php-spec-draft file
GitHub doesn't redirect symlinks, so this isn't really useful to
keep around.
2016-11-12 13:36:30 +01:00
Nikita Popov
6539c1979c Regenerate TOC 2016-11-12 13:29:06 +01:00
Nikita Popov
c9f5fd0cdd Add grammar regeneration tool 2016-11-12 13:26:17 +01:00
Nikita Popov
547f723ae3 Fix invalid references 2016-11-11 22:33:43 +01:00
Nikita Popov
61641e0950 Add check_refs tool 2016-11-11 22:10:47 +01:00
Nikita Popov
e07c954abd Refactor toc.php for reusability 2016-11-11 22:00:47 +01:00
Nikita Popov
875d1be280 Remove trailing whitespace 2016-04-24 15:15:14 +02:00
Stanislav Malyshev
ee5823acb5 update TOC 2015-05-28 00:13:30 -07:00
Nikita Popov
135141fd47 Update table of contents
Add script to generate it. The "doctoc" tool used previously seems
to be only for single file documents.

This commit also fixed the headling level in some places.
2015-01-04 14:50:08 +01:00
Stanislav Malyshev
3da4568dc5 Split the spec into chapters 2014-08-01 13:53:15 -07:00
Mauro
8ebdbcba49 Fixed typo, change "one time" for "once". 2014-07-30 18:25:33 -03:00
Mauro
53ca560cb8 Fixed punctuation 2014-07-30 18:04:24 -03:00
JoelMarcey
02d8a11d9a Initial draft specification commit
Summary:

"A journey of a thousand miles begins with a single step" - Lao-tzu
2014-07-30 09:37:33 -07:00