https://github.com/access-nri/access-hive.org.au

Documentation hub for the Earth System models, ACCESS, and their community

https://github.com/access-nri/access-hive.org.au

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.8%) to scientific vocabulary

Keywords

documentation documentation-website hive-docs-team webops-team
Last synced: 5 months ago · JSON representation

Repository

Documentation hub for the Earth System models, ACCESS, and their community

Basic Info
Statistics
  • Stars: 9
  • Watchers: 13
  • Forks: 18
  • Open Issues: 83
  • Releases: 0
Topics
documentation documentation-website hive-docs-team webops-team
Created over 3 years ago · Last pushed 6 months ago
Metadata Files
Readme Codeowners

README.md

ACCESS-Hive Docs

ACCESS-Hive Docs Badge github-contributors forum-users link-check

This repository is the implementation of the ACCESS-Hive Docs website accessible at the following URL:
https://docs.access-hive.org.au/

The ACCESS-Hive Docs website hosts the documentation for ACCESS users: getting set up, running models and model evaluation.

Table of Contents

How to Contribute

For New Users

If you wish to add documentation to the ACCESS-Hive Docs website check the contribution guide for instructions.

For ACCESS-NRI GitHub Organisation members

The ACCESS-Hive Docs website is built using Material for MkDocs. For detailed information on markdown syntax and different features, please refer to mkdocs-material documentation. The suggested workflow for a contribution on the ACCESS-Hive Docs is detailed below:

1. Clone the ACCESS-Hive Docs GitHub repo

To clone the ACCESS-Hive Docs GitHub repo, run the following command in your local terminal:

git clone git@github.com:ACCESS-NRI/access-hive.org.au.git

2. Raise an issue about the contribution

Before working on a contribution, it is always good practice to have a GitHub issue detailing the content of the contribution and why it is important. If not already present, open a new issue about your contribution.

3. Create a new git branch

Create a new git branch for your new contribution, starting from the development branch. A suggested way to call it is in the format <name>/<issue-summary>-<issue-number>, for example jasmeen/improve-how-to-contribute-812: git checkout -b jasmeen/improve-how-to-contribute-812 origin/development

4. Make changes, commit and push to the remote repo

While you are in your new git branch, make your desired changes, commit your changes, and push the commits to the remote repo:

```

Stage the desired files

git add ...

Commit the changes, including a meaningful commit descriptions.

Avoid general descriptions, such as 'a fix', 'useful change', 'home page bug fixes' etc.

git commit -m "Improved how-to-contribute instructions in the README."

Push the changes to the remote

git push ```

[!TIP] When you push your new git branch to the remote for the first time, you will need to set its upstream with: git push --set-upstream origin jasmeen/improve-how-to-contribute-812

Repeat these steps as many times as you want, until you are satisfied with all the changes and you are ready for your contribution to be reviewed.

4. Deploy website preview

During development, you can preview the changes made using MkDocs live preview server.

5. Keep your branch in sync with the development branch

Sometimes, while you make changes for your contribution, other commits can be added to the upstream (remote) development branch. It is good practice to always keep your branch in sync with the latest updates of the development branch, before opening a Pull Request and have your contribution reviewed. For syncing your feature branch with the upstream development branch, use the following command:

git rebase origin/development jasmeen/improve-how-to-contribute-812

[!WARNING] After rebasing, you might have to resolve conflicts. Also, to push commits of a local branch after rebasing you might need to use git push --force-with-lease (--force-with-lease is a safer alternative to --force). For these reasons, always use git rebase carefully. Don't hesitate to have a chat with the Hive Docs team if unsure :smile:

6. Open a Pull Request

Once you are happy with your contribution, create a pull request to have it reviewed by the ACCESS-Hive Docs team. Feel free to assign ACCESS-NRI/WebOps team as reviewers.

[!IMPORTANT] The ACCESS-Hive Docs repo's default branch is development. The main branch is automatically updated daily by merging the development branch.

Styling guidelines for developers

Please follow the guidelines below to make the Hive Docs consistent among all the pages contributed by different people.

  • Always prefer Markdown syntax to HTML when possible;
  • All internal URLs need to be ABSOLUTE links, starting with / which indicates the base website https://docs.access-hive.org.au/. So, a reference to the page https://docs.access-hive.org.au/models/configurations/access-cm/ will be /models/configurations/access-cm. Also, all assets need to be linked starting with /assets/.... This because currently the link checker does not handle relative links properly.
  • Titles/subtitles should NOT include: code lines/blocks, bold (titles are usually already bold), italic, links;
  • Code lines/blocks need to be used for lines/blocks of code, terminal commands and file/directory paths/names;
  • Italic needs to be used when referring to specific proper nouns (for example Gadi or payu);
  • Bold can be used to highlight some words (please do not overuse it);
  • All types of admonitions (info, warning, etc.), collapsible and not, can be used as described in the documentation, but they are rendered slightly differently. For the HTML version of them, please refer to the HTML/Markdown cheatsheet for the Hive Docs.
  • Instructions for different versions (for example different operative systems or different model versions) can be rendered using tabs (see HTML/Markdown cheatsheet for the Hive Docs);
  • Terminal input/output examples can be rendered using animated-terminal.js

Styling Markdown using CSS

Attribute lists

To style Markdown using custom CSS, you can use attribute lists by adding the desired CSS style (in-line or adding classes as defined in the access-nri.css file) inside curly brackets (starting with a colon) right after the markdown syntax.

For example, to make an image 50%-wide and with rounded borders, you can write the following: ![image text](/image/url/){: style="width: 50%; border-radius: 0.6rem;" }

Markdown in HTML

You can use Markdown in HTML by adding the markdown attribute inside an HTML tag.
You can then style the HTML tag using CSS (in-line or adding selectors to the access-nri.css file).

For example, to render a markdown section with half font-size, you can write the following: ```

Section with half font-size (This will appear in the table of content)

  • First bullet point
  • Second bullet point
```

Custom HTML tags

Some custom HTML tags were created (in the js/custom-tags.js file) to facilitate the rendering of some components.
The following custom tags are available:

  • "Not supported by ACCESS-NRI" admonition
    The <custom-not-supported/> tag renders a preset "Not supported by ACCESS-NRI" admonition.

  • References
    The <custom-references> ... </custom-references> tag renders references to be used at the bottom of a page. Each new line (created by pressing return/Enter) inside ... is rendered as a separate bullet point. A hyphen (-) can included at the beginning of a new line (for clarity) but it is stripped off at the time of rendering.
    For example, to reference 2 links you can write: ```

  • Simulated terminal info
    The <custom-simulated-terminal-info/> tag renders a preset info admonition on the pages where simulated terminal are used.
    It should not be used manually as it is automatically embedded in the pages containing simulated terminals.

  • Admonitions
    For information on how to render an admonition please check the respective section in the HTML/Markdown cheatsheet for the Hive Docs.
    The list of available admonition types is the following:

    • note
    • info
    • danger
    • abstract
    • tip
    • success
    • warning
    • failure
    • question
    • bug
    • example
    • quote
    • supported If you want a new admonition type to be created, please raise a new issue about it.

HTML/Markdown Cheatsheet for the Hive Docs

|Style|Markdown Syntax|HTML Syntax|Rendered example| |---|---|---|---| |Bold|**bold|<b>bold</b>|bold| |Italic|_italic|<i>italic</i>|italic_| |Code line|`code line|\<code>code line\</code>|code line`| |Code block|`<br>&emsp;code block<br>`|<pre>
 <code>code block</code>
</pre>|

code block
| |Admonition (not collapsible)|!!! warning
 this is a warning admonition|<div class="admonition warning">
 this is a warning
 admonition
<div>|warning admonition| |
Collapsible Admonition|??? warning title
 this is a collapsible warning admonition|<details class="warning">
 <summary>
  <p>
   this is a collapsible
   warning admonition
  </p>
 </summary>
</details>|collapsible warning admonition| |
Tabs|N/A|Labels:
<div class="tabLabels" label="your-tab-label">
 <button id="id-tab1">
  Tab1
 </button>
 <button id="id-tab2">
  Tab2
 </button>
</div>

Contents:**
<div tabcontentfor="id-tab1">
  Content for tab1
</div>
<div contentfor="id-tab2">
  Content for tab2
</div>

A content for a specific tab id can be included or not independently from the other contents.|tabs|

License

The ACCESS-Hive Docs website is covered by the CC-BY 4.0 license.

However, the material linked to from ACCESS-Hive Docs is covered by various licensing agreements. Our users should directly refer to the terms and conditions of any material they are using to understand their rights and responsibilities.

Owner

  • Name: ACCESS-NRI
  • Login: ACCESS-NRI
  • Kind: organization
  • Email: access.nri@anu.edu.au

Australian Earth System Simulator - National Research Infrastructure

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 205
  • Total pull requests: 167
  • Average time to close issues: 3 months
  • Average time to close pull requests: 7 days
  • Total issue authors: 25
  • Total pull request authors: 18
  • Average comments per issue: 1.25
  • Average comments per pull request: 1.91
  • Merged pull requests: 121
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 113
  • Pull requests: 100
  • Average time to close issues: 20 days
  • Average time to close pull requests: 5 days
  • Issue authors: 22
  • Pull request authors: 16
  • Average comments per issue: 1.16
  • Average comments per pull request: 1.86
  • Merged pull requests: 68
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • atteggiani (69)
  • KAUR1984 (56)
  • flicj191 (9)
  • heidinett (9)
  • chrisb13 (7)
  • aidanheerdegen (6)
  • paigem (6)
  • harshula (5)
  • anton-seaice (5)
  • svenbuder (4)
  • ccarouge (4)
  • manodeep (4)
  • rbeucher (4)
  • blimlim (3)
  • CodeGat (2)
Pull Request Authors
  • atteggiani (83)
  • KAUR1984 (26)
  • flicj191 (13)
  • harshula (7)
  • heidinett (6)
  • paigem (6)
  • chrisb13 (6)
  • pboubel (4)
  • blimlim (4)
  • aidanheerdegen (3)
  • CodeGat (2)
  • aekiss (1)
  • dougiesquire (1)
  • justinh2002 (1)
  • navidcy (1)
Top Labels
Issue Labels
✏️ documentation (26) documentation (20) ✨UI (13) UI Improvements (13) 🔧 new feature (8) 🪲 bug / mistake (7) enhancement (6) External (6) ❓question (3) code quality (3) bug (3) 🪲 bug (2) priority: low (2) Fix (2) New resource (2) help wanted (2) question (2) wontfix (1) duplicate (1)
Pull Request Labels
✏️ documentation (12) ✨UI (8) 🔧 new feature (4) 🪲 bug / mistake (3) documentation (3) enhancement (2) 🪲 bug (2) 🙋‍♀️ help wanted (2) New resource (1)

Dependencies

.github/workflows/build_preview.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v2 composite
  • actions/upload-artifact v2 composite
.github/workflows/check_links.yml actions
  • actions/checkout master composite
  • gaurav-nelson/github-action-markdown-link-check v1 composite
.github/workflows/publish.yml actions
  • JamesIves/github-pages-deploy-action v4 composite
  • actions/checkout v3 composite
  • actions/setup-python v2 composite