https://github.com/adamancer/geo-ose-jtd
Science Score: 13.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
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.9%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: adamancer
- License: mit
- Language: Ruby
- Default Branch: main
- Homepage: https://adamancer.github.io/geo-ose-jtd/
- Size: 28.3 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
just-the-docs-template
This is a bare-minimum template to create a Jekyll site that:
- uses the Just the Docs theme;
- can be built and published on GitHub Pages;
- can be built and previewed locally, and published on other platforms.
More specifically, the created site:
- uses a gem-based approach, i.e. uses a
Gemfileand loads thejust-the-docsgem; - uses the GitHub Pages / Actions workflow to build and publish the site on GitHub Pages.
To get started with creating a site, simply:
- click "use this template" to create a GitHub repository
- go to Settings > Pages > Build and deployment > Source, and select GitHub Actions
If you want to maintain your docs in the docs directory of an existing project repo, see Hosting your docs from an existing project repo.
After completing the creation of your new site on GitHub, update it as needed:
Replace the content of the template pages
Update the following files to your own content:
index.md(your new home page)README.md(information for those who access your site repo on GitHub)
Changing the version of the theme and/or Jekyll
Simply edit the relevant line(s) in the Gemfile.
Adding a plugin
The Just the Docs theme automatically includes the jekyll-seo-tag plugin.
To add an extra plugin, you need to add it in the Gemfile and in _config.yml. For example, to add jekyll-default-layout:
- Add the following to your site's
Gemfile:
ruby
gem "jekyll-default-layout"
- And add the following to your site's
_config.yml:
yaml
plugins:
- jekyll-default-layout
Note: If you are using a Jekyll version less than 3.5.0, use the gems key instead of plugins.
Publishing your site on GitHub Pages
If your created site is
YOUR-USERNAME/YOUR-SITE-NAME, update_config.ymlto:```yaml title: YOUR TITLE description: YOUR DESCRIPTION theme: just-the-docs
url: https://YOUR-USERNAME.github.io/YOUR-SITE-NAME
aux_links: # remove if you don't want this link to appear on your pages Template Repository: https://github.com/YOUR-USERNAME/YOUR-SITE-NAME ```
Push your updated
_config.ymlto your site on GitHub.In your newly created repo on GitHub:
- go to the
Settingstab ->Pages->Build and deployment, then selectSource:GitHub Actions. - if there were any failed Actions, go to the
Actionstab and click onRe-run jobs.
- go to the
Building and previewing your site locally
Assuming Jekyll and Bundler are installed on your computer:
Change your working directory to the root directory of your site.
Run
bundle install.Run
bundle exec jekyll serveto build your site and preview it atlocalhost:4000.The built site is stored in the directory
_site.
Publishing your built site on a different platform
Just upload all the files in the directory _site.
Customization
You're free to customize sites that you create with this template, however you like!
Browse our documentation to learn more about how to use this theme.
Hosting your docs from an existing project repo
You might want to maintain your docs in an existing project repo. Instead of creating a new repo using the just-the-docs template, you can copy the template files into your existing repo and configure the template's Github Actions workflow to build from a docs directory. You can clone the template to your local machine or download the .zip file to access the files.
Copy the template files
Create a
.github/workflowsdirectory at your project root if your repo doesn't already have one. Copy thepages.ymlfile into this directory. GitHub Actions searches this directory for workflow files.Create a
docsdirectory at your project root and copy all remaining template files into this directory.
Modify the GitHub Actions workflow
The GitHub Actions workflow that builds and deploys your site to Github Pages is defined by the pages.yml file. You'll need to edit this file to that so that your build and deploy steps look to your docs directory, rather than the project root.
Set the default
working-directoryparam for the build job.yaml build: runs-on: ubuntu-latest defaults: run: working-directory: docsSet the
working-directoryparam for the Setup Ruby step.```yaml
- name: Setup Ruby uses: ruby/setup-ruby@v1 with: ruby-version: '3.3' bundler-cache: true cache-version: 0 working-directory: '${{ github.workspace }}/docs' ```
Set the path param for the Upload artifact step:
```yaml
- name: Upload artifact uses: actions/upload-pages-artifact@v3 with: path: docs/_site/ ```
Modify the trigger so that only changes within the
docsdirectory start the workflow. Otherwise, every change to your project (even those that don't affect the docs) would trigger a new site build and deploy.yaml on: push: branches: - "main" paths: - "docs/**"
Licensing and Attribution
This repository is licensed under the MIT License. You are generally free to reuse or extend upon this code as you see fit; just include the original copy of the license (which is preserved when you "make a template"). While it's not necessary, we'd love to hear from you if you do use this template, and how we can improve it for future use!
The deployment GitHub Actions workflow is heavily based on GitHub's mixed-party starter workflows. A copy of their MIT License is available in actions/starter-workflows.
Owner
- Name: Adam Mansur
- Login: adamancer
- Kind: user
- Location: Ellensburg, WA
- Company: Smithsonian Institution
- Website: https://orcid.org/0000-0002-7512-4206
- Repositories: 5
- Profile: https://github.com/adamancer
I manage data and informatics for the Department of Mineral Sciences at the Smithsonian. I used to do geochemsitry, but lab work wasn't for me.
GitHub Events
Total
- Issue comment event: 1
- Push event: 1
- Pull request event: 3
- Create event: 2
Last Year
- Issue comment event: 1
- Push event: 1
- Pull request event: 3
- Create event: 2
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 0
- Total pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: 2 days
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.5
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 2
Past Year
- Issues: 0
- Pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: 2 days
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.5
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 2
Top Authors
Issue Authors
Pull Request Authors
- dependabot[bot] (2)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v4 composite
- ruby/setup-ruby v1 composite
- actions/checkout v4 composite
- actions/configure-pages v5 composite
- actions/deploy-pages v4 composite
- actions/upload-pages-artifact v3 composite
- ruby/setup-ruby v1 composite
- jekyll ~> 4.3.4
- just-the-docs = 0.10.1
- addressable 2.8.7
- bigdecimal 3.1.9
- bundler 2.5.9
- colorator 1.1.0
- concurrent-ruby 1.3.4
- em-websocket 0.5.3
- eventmachine 1.2.7
- ffi 1.17.1
- forwardable-extended 2.6.0
- google-protobuf 4.29.2
- http_parser.rb 0.8.0
- i18n 1.14.6
- jekyll 4.3.4
- jekyll-include-cache 0.2.1
- jekyll-sass-converter 3.0.0
- jekyll-seo-tag 2.8.0
- jekyll-watch 2.2.1
- just-the-docs 0.10.1
- kramdown 2.5.1
- kramdown-parser-gfm 1.1.0
- liquid 4.0.4
- listen 3.9.0
- mercenary 0.4.0
- pathutil 0.16.2
- public_suffix 6.0.1
- rake 13.2.1
- rb-fsevent 0.11.2
- rb-inotify 0.11.1
- rexml 3.4.0
- rouge 4.5.1
- safe_yaml 1.0.5
- sass-embedded 1.83.1
- terminal-table 3.0.2
- unicode-display_width 2.6.0
- webrick 1.9.1