Skip to content

Commit

Permalink
2024-06-12 - Bump to codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
markbattistella committed Jun 12, 2024
1 parent 08b4717 commit b792e77
Show file tree
Hide file tree
Showing 11 changed files with 631 additions and 563 deletions.
6 changes: 4 additions & 2 deletions .github/scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ packageData.version = newVersion;
jsonfile.writeFileSync(packageFile, packageData, { spaces: 2 });

const filesToUpdate = [
"./dist/docsify-sidebar.js",
"./dist/docsify-sidebar.min.js"
"./dist/docsify-charty.js",
"./dist/docsify-charty.min.js",
"./dist/docsify-charty.css",
"./dist/docsify-charty.min.css",
];

filesToUpdate.forEach(filePath => {
Expand Down
43 changes: 43 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
# Runs on pushes targeting the default branch
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 only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: './docs'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
.markdownlint.json
.DS_Store
*babel.js
*.min.js
.gitattributes
node_modules
10 changes: 0 additions & 10 deletions .markdownlintrc

This file was deleted.

7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

## 3.0.0 - Wed Jun 12 2024

### Breaking Changes

- Clenaup to code
- Bumped version
11 changes: 1 addition & 10 deletions dist/docsify-charty.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
/*
* docsify-charty.css v2.0.2 (https://markbattistella.github.io/docsify-charty/)
* Copyright (c) 2021 Mark Battistella (@markbattistella)
* Licensed under MIT
*/


/*! docsify-charty 3.0.0 | (c) Mark Battistella */

/*
* core
Expand Down Expand Up @@ -35,9 +29,6 @@
font-size: calc( var(--charty-size-baseline) * 1px );
line-height: calc( var(--charty-size-baseline) * 1px * 1.5 );
color: var(--charty-colour-text);

/* printing colour */
color-adjust: exact;
}

/* mode: dark */
Expand Down
7 changes: 2 additions & 5 deletions dist/docsify-charty.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
/*
* docsify-charty.js v2.0.2 (https://markbattistella.github.io/docsify-charty/)
* Copyright (c) 2021 Mark Battistella (@markbattistella)
* Licensed under MIT
*/
/*! docsify-charty 3.0.0 | (c) Mark Battistella */

//
// MARK: - safety first
//
Expand Down
6 changes: 1 addition & 5 deletions dist/docsify-charty.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions dist/docsify-charty.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit b792e77

Please sign in to comment.