Skip to content

Commit

Permalink
Update dev dependencies. Update docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexagon committed Aug 15, 2023
1 parent 419c9a8 commit 1237517
Show file tree
Hide file tree
Showing 116 changed files with 667 additions and 11,150 deletions.
62 changes: 62 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll site to Pages

on:
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
- name: Build with Jekyll
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "./docs"
env:
JEKYLL_ENV: production
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v2

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
7 changes: 7 additions & 0 deletions docs/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
source 'https://rubygems.org'

gem "jekyll", "~> 4.3.2" # installed by `gem jekyll`
# gem "webrick" # required when using Ruby >= 3 and Jekyll <= 4.2.2

gem "just-the-docs", "0.5.4" # pinned to the current release
# gem "just-the-docs" # always download the latest release
28 changes: 28 additions & 0 deletions docs/_config,yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
title: Minitz - The manual

description: Minimal, yet powerful libraryto manage and manipulate time zones for native JavaScript date objects.

theme: just-the-docs

url: https://minitz.56k.guru

aux_links:
GitHub Repository: https://github.com/hexagon/minitz
NPM Mobule: https://npmjs.com/minitz
Deno Library: https://deno.land/x/minitz

plugins:
- jekyll-relative-links
- jekyll-default-layout

enable_copy_code_button: true

# Footer content
footer_content: "Copyright &copy; 2021-2023 Hexagon. Distributed by an <a href=\"https://github.com/hexagon/minitz/tree/main/LICENSE\">MIT license.</a>"
last_edit_time_format: "%b %e %Y at %I:%M %p"
gh_edit_link: true
gh_edit_link_text: "Edit this page on GitHub."
gh_edit_repository: "https://github.com/hexagon/minitz"
gh_edit_branch: "main"
gh_edit_source: docs
gh_edit_view_mode: "tree"
12 changes: 12 additions & 0 deletions docs/_includes/display.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9224018205432249"
crossorigin="anonymous"></script>
<!-- Display -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-9224018205432249"
data-ad-slot="7417217449"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
1 change: 1 addition & 0 deletions docs/_includes/head_custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9224018205432249" crossorigin="anonymous"></script>
10 changes: 10 additions & 0 deletions docs/_includes/multiplex.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9224018205432249"
crossorigin="anonymous"></script>
<ins class="adsbygoogle"
style="display:block"
data-ad-format="autorelaxed"
data-ad-client="ca-pub-9224018205432249"
data-ad-slot="5087509523"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
Binary file removed docs/chameleon-logo-small.png
Binary file not shown.
Binary file removed docs/chameleon-logo.png
Binary file not shown.
8 changes: 7 additions & 1 deletion CONTRIBUTING.md → docs/contributing.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# Welcome to minitz contributing guide
---
layout: page
title: "Contributing"
nav_order: 2
---

# Minitz contributing guide

## New contributor guide

Expand Down
Loading

0 comments on commit 1237517

Please sign in to comment.