diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-03-05 15:14:17 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-03-05 15:14:17 +0100 |
commit | 29533908c2b28f7d0f596bd25c07e06563f027ae (patch) | |
tree | 8e68fdb754d720af9c20afc403759c27835dd738 /docs/templating/conrefs.md | |
parent | 603622e3379e1381b7acedf5174ceba656b15285 (diff) | |
parent | 74a1e9dee23ab44c2242c69f3ee5091454af42a8 (diff) | |
download | gitbook-29533908c2b28f7d0f596bd25c07e06563f027ae.zip gitbook-29533908c2b28f7d0f596bd25c07e06563f027ae.tar.gz gitbook-29533908c2b28f7d0f596bd25c07e06563f027ae.tar.bz2 |
Merge pull request #1168 from GitbookIO/enhancement/doc
v3 doc review
Diffstat (limited to 'docs/templating/conrefs.md')
-rw-r--r-- | docs/templating/conrefs.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/templating/conrefs.md b/docs/templating/conrefs.md index 7844e9c..252fec9 100644 --- a/docs/templating/conrefs.md +++ b/docs/templating/conrefs.md @@ -1,10 +1,10 @@ # Content References -Content referencing (conref) is a convenient mechanism for reuse of content from other files or books. +Content referencing (conref) is a convenient mechanism to reuse content from other files or books. ### Importing local files -Importing an other file's content is really easy using the `include` tag: +Importing an other file's content is easy using the `include` tag: ``` {% include "./test.md" %} @@ -21,7 +21,7 @@ GitBook can also resolve the include path by using git: The format of git url is: ``` -git+https://user@hostname/project/blah.git/file#commit-ish +git+https://user@hostname/owner/project.git/file#commit-ish ``` The real git url part should finish with `.git`, the filename to import is extracted after the `.git` till the fragment of the url. @@ -42,7 +42,7 @@ Template inheritance is a way to make it easy to reuse templates. When writing a {% endblock %} ``` -In the file `mypage.md`, you should specify the blocks that can be extent: +In the file `mypage.md`, you should specify the blocks that can be extended: ``` {% block pageContent %} |