Skip to content

Commit

Permalink
Some initial editing and formatting of the foreword section.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardobarroslourenco committed Feb 1, 2022
1 parent 43cfdf0 commit c82816c
Show file tree
Hide file tree
Showing 39 changed files with 635 additions and 531 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
437 changes: 437 additions & 0 deletions LICENSE.md

Large diffs are not rendered by default.

19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
Welcome!
## CC Primer

This is a minimal example of a book based on R Markdown and **bookdown** (https://github.com/rstudio/bookdown).
This is the main repository of the document _"CC Primer: Compute Canada for geoscientists in a rush"_, by Ricardo Barros Lourenco. If you want to read it,
please go to its [webpage](https://ricardobarroslourenco.github.io/CCprimer/).

This template provides a skeleton file structure that you can edit to create your book.

The contents inside the .Rmd files provide some pointers to help you get started, but feel free to also delete the content in each file and start fresh.
## Copyright

Additional resources:
Shield: [![CC BY-NC-SA 4.0][cc-by-nc-sa-shield]][cc-by-nc-sa]

The **bookdown** book: https://bookdown.org/yihui/bookdown/
This work is licensed under a
[Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License][cc-by-nc-sa].

The **bookdown** package reference site: https://pkgs.rstudio.com/bookdown
[![CC BY-NC-SA 4.0][cc-by-nc-sa-image]][cc-by-nc-sa]

[cc-by-nc-sa]: http://creativecommons.org/licenses/by-nc-sa/4.0/
[cc-by-nc-sa-image]: https://licensebuttons.net/l/by-nc-sa/4.0/88x31.png
[cc-by-nc-sa-shield]: https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-lightgrey.svg
6 changes: 3 additions & 3 deletions _output.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ bookdown::gitbook:
config:
toc:
before: |
<li><a href="./">A Minimal Book Example</a></li>
<li><a href="./">CC Primer</a></li>
after: |
<li><a href="https://github.com/rstudio/bookdown" target="blank">Published with bookdown</a></li>
edit: https://github.com/USERNAME/REPO/edit/BRANCH/%s
<li> <a href="//creativecommons.org/licenses/by-nc-sa/4.0"><img src="https://licensebuttons.net/l/by-nc-sa/3.0/88x31.png" alt="" width="88" height="31"></a></li>
edit: https://github.com/ricardobarroslourenco/CCprimer/edit/master/%s
download: ["pdf", "epub"]
bookdown::pdf_book:
includes:
Expand Down
108 changes: 19 additions & 89 deletions docs/404.html
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,26 @@

<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Page not found | A Minimal Book Example</title>
<meta name="description" content="<p>This is a minimal example of using the bookdown package to write a book.
The HTML output format for this example is bookdown::gitbook,
set in the _output.yml file.</p>" />
<title>Page not found | CC Primer: Compute Canada for geoscientists in a rush</title>
<meta name="description" content="Descricao (campo)" />
<meta name="generator" content="bookdown 0.24 and GitBook 2.6.7" />

<meta property="og:title" content="Page not found | A Minimal Book Example" />
<meta property="og:title" content="Page not found | CC Primer: Compute Canada for geoscientists in a rush" />
<meta property="og:type" content="book" />
<meta property="og:url" content="https://ricardobarroslourenco.github.io/CCprimer/" />


<meta property="og:description" content="<p>This is a minimal example of using the bookdown package to write a book.
The HTML output format for this example is bookdown::gitbook,
set in the _output.yml file.</p>" />
<meta name="github-repo" content="rstudio/bookdown-demo" />
<meta property="og:description" content="Descricao (campo)" />
<meta name="github-repo" content="ricardobarroslourenco/CCprimer" />

<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Page not found | A Minimal Book Example" />
<meta name="twitter:title" content="Page not found | CC Primer: Compute Canada for geoscientists in a rush" />

<meta name="twitter:description" content="<p>This is a minimal example of using the bookdown package to write a book.
The HTML output format for this example is bookdown::gitbook,
set in the _output.yml file.</p>" />
<meta name="twitter:description" content="Descricao (campo)" />


<meta name="author" content="John Doe" />
<meta name="author" content="Ricardo Barros Lourenco" />


<meta name="date" content="2022-01-31" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -126,28 +119,6 @@
code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
</style>

<style type="text/css">
/* Used with Pandoc 2.11+ new --citeproc when CSL is used */
div.csl-bib-body { }
div.csl-entry {
clear: both;
}
.hanging div.csl-entry {
margin-left:2em;
text-indent:-2em;
}
div.csl-left-margin {
min-width:2em;
float:left;
}
div.csl-right-inline {
margin-left:2em;
padding-left:1em;
}
div.csl-indent {
margin-left: 2em;
}
</style>

<link rel="stylesheet" href="style.css" type="text/css" />
</head>
Expand All @@ -162,48 +133,21 @@
<nav role="navigation">

<ul class="summary">
<li><a href="./">A Minimal Book Example</a></li>
<li><a href="./">CC Primer</a></li>

<li class="divider"></li>
<li class="chapter" data-level="1" data-path="index.html"><a href="index.html"><i class="fa fa-check"></i><b>1</b> About</a>
<ul>
<li class="chapter" data-level="1.1" data-path="index.html"><a href="index.html#usage"><i class="fa fa-check"></i><b>1.1</b> Usage</a></li>
<li class="chapter" data-level="1.2" data-path="index.html"><a href="index.html#render-book"><i class="fa fa-check"></i><b>1.2</b> Render book</a></li>
<li class="chapter" data-level="1.3" data-path="index.html"><a href="index.html#preview-book"><i class="fa fa-check"></i><b>1.3</b> Preview book</a></li>
</ul></li>
<li class="chapter" data-level="2" data-path="hello-bookdown.html"><a href="hello-bookdown.html"><i class="fa fa-check"></i><b>2</b> Hello bookdown</a>
<li class="chapter" data-level="1" data-path=""><a href="#front-matter"><i class="fa fa-check"></i><b>1</b> Front Matter</a>
<ul>
<li class="chapter" data-level="2.1" data-path="hello-bookdown.html"><a href="hello-bookdown.html#a-section"><i class="fa fa-check"></i><b>2.1</b> A section</a>
<li class="chapter" data-level="1.1" data-path=""><a href="#copyright"><i class="fa fa-check"></i><b>1.1</b> Copyright</a>
<ul>
<li class="chapter" data-level="" data-path="hello-bookdown.html"><a href="hello-bookdown.html#an-unnumbered-section"><i class="fa fa-check"></i>An unnumbered section</a></li>
<li class="chapter" data-level="1.1.1" data-path=""><a href="#how-to-cite-this-work"><i class="fa fa-check"></i><b>1.1.1</b> How to cite this work</a></li>
</ul></li>
<li class="chapter" data-level="1.2" data-path=""><a href="#foreword"><i class="fa fa-check"></i><b>1.2</b> Foreword</a></li>
<li class="chapter" data-level="1.3" data-path=""><a href="#list-of-abbreviations-and-acronyms"><i class="fa fa-check"></i><b>1.3</b> List of abbreviations and acronyms</a></li>
<li class="chapter" data-level="1.4" data-path=""><a href="#cronology"><i class="fa fa-check"></i><b>1.4</b> Cronology</a></li>
</ul></li>
<li class="chapter" data-level="3" data-path="cross.html"><a href="cross.html"><i class="fa fa-check"></i><b>3</b> Cross-references</a>
<ul>
<li class="chapter" data-level="3.1" data-path="cross.html"><a href="cross.html#chapters-and-sub-chapters"><i class="fa fa-check"></i><b>3.1</b> Chapters and sub-chapters</a></li>
<li class="chapter" data-level="3.2" data-path="cross.html"><a href="cross.html#captioned-figures-and-tables"><i class="fa fa-check"></i><b>3.2</b> Captioned figures and tables</a></li>
</ul></li>
<li class="chapter" data-level="4" data-path="parts.html"><a href="parts.html"><i class="fa fa-check"></i><b>4</b> Parts</a></li>
<li class="chapter" data-level="5" data-path="footnotes-and-citations.html"><a href="footnotes-and-citations.html"><i class="fa fa-check"></i><b>5</b> Footnotes and citations</a>
<ul>
<li class="chapter" data-level="5.1" data-path="footnotes-and-citations.html"><a href="footnotes-and-citations.html#footnotes"><i class="fa fa-check"></i><b>5.1</b> Footnotes</a></li>
<li class="chapter" data-level="5.2" data-path="footnotes-and-citations.html"><a href="footnotes-and-citations.html#citations"><i class="fa fa-check"></i><b>5.2</b> Citations</a></li>
</ul></li>
<li class="chapter" data-level="6" data-path="blocks.html"><a href="blocks.html"><i class="fa fa-check"></i><b>6</b> Blocks</a>
<ul>
<li class="chapter" data-level="6.1" data-path="blocks.html"><a href="blocks.html#equations"><i class="fa fa-check"></i><b>6.1</b> Equations</a></li>
<li class="chapter" data-level="6.2" data-path="blocks.html"><a href="blocks.html#theorems-and-proofs"><i class="fa fa-check"></i><b>6.2</b> Theorems and proofs</a></li>
<li class="chapter" data-level="6.3" data-path="blocks.html"><a href="blocks.html#callout-blocks"><i class="fa fa-check"></i><b>6.3</b> Callout blocks</a></li>
</ul></li>
<li class="chapter" data-level="7" data-path="sharing-your-book.html"><a href="sharing-your-book.html"><i class="fa fa-check"></i><b>7</b> Sharing your book</a>
<ul>
<li class="chapter" data-level="7.1" data-path="sharing-your-book.html"><a href="sharing-your-book.html#publishing"><i class="fa fa-check"></i><b>7.1</b> Publishing</a></li>
<li class="chapter" data-level="7.2" data-path="sharing-your-book.html"><a href="sharing-your-book.html#pages"><i class="fa fa-check"></i><b>7.2</b> 404 pages</a></li>
<li class="chapter" data-level="7.3" data-path="sharing-your-book.html"><a href="sharing-your-book.html#metadata-for-sharing"><i class="fa fa-check"></i><b>7.3</b> Metadata for sharing</a></li>
</ul></li>
<li class="chapter" data-level="" data-path="references.html"><a href="references.html"><i class="fa fa-check"></i>References</a></li>
<li class="divider"></li>
<li><a href="https://github.com/rstudio/bookdown" target="blank">Published with bookdown</a></li>
<li> <a href="//creativecommons.org/licenses/by-nc-sa/4.0"><img src="https://licensebuttons.net/l/by-nc-sa/3.0/88x31.png" alt="" width="88" height="31"></a></li>

</ul>

Expand All @@ -214,7 +158,7 @@
<div class="body-inner">
<div class="book-header" role="navigation">
<h1>
<i class="fa fa-circle-o-notch fa-spin"></i><a href="./">A Minimal Book Example</a>
<i class="fa fa-circle-o-notch fa-spin"></i><a href="./">CC Primer: Compute Canada for geoscientists in a rush</a>
</h1>
</div>

Expand Down Expand Up @@ -265,7 +209,7 @@ <h1>Page not found</h1>
"size": 2
},
"edit": {
"link": "https://github.com/USERNAME/REPO/edit/BRANCH/%s",
"link": "https://github.com/ricardobarroslourenco/CCprimer/edit/master/%s",
"text": "Edit"
},
"history": {
Expand All @@ -288,20 +232,6 @@ <h1>Page not found</h1>
});
</script>

<!-- dynamically load mathjax for compatibility with self-contained -->
<script>
(function () {
var script = document.createElement("script");
script.type = "text/javascript";
var src = "true";
if (src === "" || src === "true") src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-MML-AM_CHTML";
if (location.protocol !== "file:")
if (/^https?:/.test(src))
src = src.replace(/^https?:/, '');
script.src = src;
document.getElementsByTagName("head")[0].appendChild(script);
})();
</script>
</body>

</html>
Binary file modified docs/_main.epub
100755 → 100644
Binary file not shown.
Binary file modified docs/_main.pdf
100755 → 100644
Binary file not shown.
Loading

0 comments on commit c82816c

Please sign in to comment.