Skip to content

Commit 91708ab

Browse files
Merge pull request #8 from TidbitSoftware/main
Added badges; updated notes on repo structure and how to make changes
2 parents 791af92 + 7bf8d4d commit 91708ab

File tree

5 files changed

+22
-6
lines changed

5 files changed

+22
-6
lines changed

docs/README.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# ISSM Documentation
22
Repository for generating online and PDF documentation for ISSM and storing publications based on ISSM.
33

4-
The [generated documentation] is a [Jekyll] site that uses a customized version of the [Just the Docs] theme and is built and published on [GitHub Pages].
4+
The [generated documentation](https://issmteam.github.io/ISSM-Documentation/) is a [Jekyll] site that uses a customized version of the [Just the Docs] theme and is built and published on [GitHub Pages].
55

66
## Making Changes to the Documentation
77
If you have write access to this repository, you can make and commit changes from a copy of the repository or make changes to pages directly through the GitHub interface. Alternatively, all users may fork this repository and submit pull requests with proposed changes.
88

9-
It can take up to 10 minutes for changes to your site to publish after you push the changes to GitHub
9+
It can take up to 10 minutes for changes to your site to publish after you push the changes to GitHub.
1010

1111
### Previewing Changes Locally
1212
Assuming [Jekyll] and [Bundler] are installed on your computer:
@@ -19,8 +19,25 @@ Assuming [Jekyll] and [Bundler] are installed on your computer:
1919

2020
The built site is stored in the directory `_site`.
2121

22-
[generated documentation]: https://issmteam.github.io/ISSM-Documentation/
22+
## Structure
23+
Each page in the [front end of the documentation](https://issmteam.github.io/ISSM-Documentation/) has a corresponding Markdown file (`.md`) in the appropriate subdirectory of `docs/`. For example,
24+
````
25+
https://issmteam.github.io/ISSM-Documentation/getting-started/model-class
26+
````
27+
corresponds to,
28+
````
29+
docs/getting-started/model-class/index.md
30+
````
31+
A subdirectory may contain the default file (`index.md`) as well as additional sibling files. In these cases, the `index` file is just that: an index of the other files in the subdirectory (e.g. `docs/troubleshooting/index.md`).
32+
33+
### Publications
34+
The 'Publications' page and its corresponding content files and their structure in the repo work differently. The important thing to know is that if you want to add a new publication to the front end page, you can do so by adding a DOI to the appropriate file in `docs/publications/doi`, which are named according to the year that the corresponding articles were published. On commit, the entire 'Publications' page will be regenerated.
35+
36+
For more info, see `docs/publications/README`.
37+
38+
<!--- Reference-style Links --->
2339
[Jekyll]: https://jekyllrb.com
2440
[Just the Docs]: https://just-the-docs.github.io/just-the-docs/
2541
[GitHub Pages]: https://docs.github.com/en/pages
2642
[Bundler]: https://bundler.io
43+

docs/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Please feel free to let us know how this documentation could be improved. We als
1818
----
1919
<h2>Build Status</h2>
2020
![Ubuntu - Basic](https://github.com/ISSMteam/ISSM/actions/workflows/ubuntu-basic.yml/badge.svg)
21+
[![Ubuntu Python](https://github.com/ISSMteam/ISSM/actions/workflows/ubuntu-python.yml/badge.svg)](https://github.com/ISSMteam/ISSM/actions/workflows/ubuntu-python.yml)
22+
[![Ubuntu CodiPack](https://github.com/ISSMteam/ISSM/actions/workflows/ubuntu-codipack.yml/badge.svg)](https://github.com/ISSMteam/ISSM/actions/workflows/ubuntu-codipack.yml)
2123

2224
There are more regression tests on <a href="https://ross.ics.uci.edu/jenkins/view/All/" target="_blank">ISSM's Jenkins server</a>.
2325

docs/installation/linux.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,4 +202,3 @@ make install
202202
203203
You are now ready to
204204
<a href="../getting-started" target="_top">get started with ISSM</a>!
205-

docs/installation/macos.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,4 +199,3 @@ make install
199199
200200
You are now ready to
201201
<a href="../getting-started" target="_top">get started with ISSM</a>!
202-

docs/installation/windows.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,4 +273,3 @@ Sources:
273273

274274
- <a href="https://www.msys2.org/wiki/Setting-up-SSHd" target="_blank">MSYS2 'Setting up SSHd' webpage</a>
275275
- <a href="https://gist.github.com/samhocevar/00eec26d9e9988d080ac" target="_blank">Sam Hocevar's GitHub Gist page on setting up SSHd under MSYS2</a>
276-

0 commit comments

Comments
 (0)