-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #87 from carpentries/allow-overview-pages
Allow overview pages
- Loading branch information
Showing
14 changed files
with
309 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.{qmd,Rmd,md}] | ||
indent_size = 2 | ||
indent_style = space | ||
max_line_length = 80 # Please keep this in sync with bin/lesson_check.py! | ||
trim_trailing_whitespace = false # keep trailing spaces in markdown - 2+ spaces are translated to a hard break (<br/>) | ||
|
||
[*.r] | ||
max_line_length = 80 | ||
indent_size = 2 | ||
indent_style = space | ||
|
||
[*.{py,js}] | ||
indent_size = 4 | ||
indent_style = space | ||
max_line_length = 80 | ||
|
||
[*.sh] | ||
end_of_line = lf | ||
|
||
[Makefile] | ||
indent_style = tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<!-- START: inst/pkgdown/templates/content-syllabus.html --> | ||
<div class="col-xl-12 col-lg-12"> | ||
<main id="main-content" class="main-content"> | ||
<h1>{{{pagetitle}}}</h1> | ||
<div class="container lesson-content"> | ||
<p> | ||
{{#updated}} Last updated on {{updated}} | {{/updated}} | ||
<a href="{{#yaml}}{{source}}/edit/{{branch}}/{{/yaml}}{{file_source}}{{^file_source}}index.md{{/file_source}}"> | ||
Edit this page <i aria-hidden="true" data-feather="edit"></i> | ||
</a> | ||
</p> | ||
|
||
{{{readme}}} | ||
|
||
{{#syllabus}} | ||
<section id="schedule"> | ||
<table class="table schedule table-striped" role="presentation"> | ||
<tbody> | ||
{{#setup}} | ||
<tr> | ||
<td></td><td><a href="#setup">Setup Instructions</a></td><td> Download files required for the lesson</td> | ||
</tr> | ||
{{/setup}} | ||
{{{syllabus}}} | ||
</table> | ||
<p> | ||
The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor. | ||
</p> | ||
</section> | ||
{{/syllabus}} | ||
{{#setup}} | ||
<section id="setup"> | ||
{{{setup}}} | ||
</section> | ||
{{/setup}} | ||
</main> | ||
</div> | ||
<!-- END : inst/pkgdown/templates/content-syllabus.html --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.