mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-18 21:24:41 +03:00
Jekyll front matter (document header) now optional: https://blog.github.com/2016-12-09-publishing-with-github-pages-now-as-easy-as-1-2-3/
This commit is contained in:
@@ -1,6 +1,3 @@
|
|||||||
---
|
|
||||||
layout: default
|
|
||||||
---
|
|
||||||
# <a name="main"></a>C++ Core Guidelines
|
# <a name="main"></a>C++ Core Guidelines
|
||||||
|
|
||||||
April 16, 2018
|
April 16, 2018
|
||||||
|
|||||||
@@ -4,20 +4,15 @@ How to update the gh-pages at http://isocpp.github.io/CppCoreGuidelines/
|
|||||||
2. Update date in CppCoreGuidelines.md (and commit & push if updated)
|
2. Update date in CppCoreGuidelines.md (and commit & push if updated)
|
||||||
3. git checkout gh-pages
|
3. git checkout gh-pages
|
||||||
4. git checkout master -- CppCoreGuidelines.md
|
4. git checkout master -- CppCoreGuidelines.md
|
||||||
5. Add the following three lines to the top of CppCoreGuidelines.md:
|
|
||||||
|
|
||||||
---
|
5. Replace all instances of {{ with {{ "{{" }}
|
||||||
layout: default
|
|
||||||
---
|
|
||||||
|
|
||||||
6. Replace all instances of {{ with {{ "{{" }}
|
|
||||||
This escapes the Liquid Template tag which has format {{ liquid }}
|
This escapes the Liquid Template tag which has format {{ liquid }}
|
||||||
If you're lucky enough to use vi, your command is: %s/{{/{{ "{{" }}/g
|
If you're lucky enough to use vi, your command is: %s/{{/{{ "{{" }}/g
|
||||||
Remember to save the file!
|
Remember to save the file!
|
||||||
|
|
||||||
7. git commit -a -m "message"
|
6. git commit -a -m "message"
|
||||||
8. git push
|
7. git push
|
||||||
9. Refresh the http://isocpp.github.io/CppCoreGuidelines/ to verify that the
|
8. Refresh the http://isocpp.github.io/CppCoreGuidelines/ to verify that the
|
||||||
build succeeded. If not, check your email! If the page fails to build, you'll
|
build succeeded. If not, check your email! If the page fails to build, you'll
|
||||||
get a mail explaining why.
|
get a mail explaining why.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user