Skip to content

Update repo & Fix Typo #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
128 changes: 0 additions & 128 deletions .github/CODE_OF_CONDUCT.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
# ignore:
# - dependency-name: "packagesToIgnore"
40 changes: 0 additions & 40 deletions .github/workflows/codeql.yml

This file was deleted.

13 changes: 7 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
# Pull Source Code
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

# Use nodejs
- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: '20.x'

# Install npm packages
- run: npm install
Expand All @@ -35,7 +35,8 @@ jobs:
- run: sed -i -e 's/REL_VER_NUMBER/${{ env.RELEASE_VERSION }}/g' src/plugin.js

# dist setup
- run: rm -rf dist/.git* # delete .git* files in dist
- run: |
[ ! -d ./dist ] && mkdir ./dist || echo 'dist dir already exists!'
- run: echo ARCHIVE="docsify-plugin-title-${{ env.RELEASE_VERSION }}.zip" >> $GITHUB_ENV
- run: mv LICENSE LICENSE.txt

Expand All @@ -44,7 +45,7 @@ jobs:

# Publish to npm
- name: "🚀 Publish to npm"
uses: JS-DevTools/npm-publish@v1
uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_TOKEN }}
access: "public"
Expand Down Expand Up @@ -82,4 +83,4 @@ jobs:
files: |
${{ env.ARCHIVE }}
${{ env.ARCHIVE }}.sha256
${{ env.ARCHIVE }}.md5
${{ env.ARCHIVE }}.md5
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ Temporary Items
## Custom config
!.gitkeep
.env
./dist

## npm
node_modules
npm-debug.log
npm-debug.log
package-lock.json
20 changes: 3 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A simple plugin to customize [docsify](https://github.com/docsifyjs/docsify/) page title

[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/sujaykumarh/docsify-plugin-title/Build%20&%20Publish%20package)](https://github.com/Sujaykumarh/docsify-plugin-title/actions)
<!--[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/sujaykumarh/docsify-plugin-title/Build%20&%20Publish%20package)](https://github.com/Sujaykumarh/docsify-plugin-title/actions)-->
[![GitHub package.json version](https://img.shields.io/github/package-json/v/sujaykumarh/docsify-plugin-title)](https://www.npmjs.com/package/@sujaykumarh/docsify-plugin-title)
[![jsDelivr hits (npm)](https://img.shields.io/jsdelivr/npm/hm/@sujaykumarh/docsify-plugin-title)](https://www.jsdelivr.com/package/npm/@sujaykumarh/docsify-plugin-title)
<br>
Expand Down Expand Up @@ -30,7 +30,7 @@ Available options
window.$docsify.customPageTitle = {
prefix: false, // [optional] title prefix. default: false eg: prefix: "Application"
suffix: false, // [optional] title suffix. default: false eg: suffix: "v1.0.0"
seprator: '|', // [optional] seprator for title eg: title-> prefix | title | suffix
separator: '|', // [optional] separator for title eg: title-> prefix | title | suffix
debug: false, // [optional] should debug
}
```
Expand Down Expand Up @@ -76,18 +76,4 @@ npm run minify # generate minified .min.js in dist

# 📄 License

```
Copyright (c) 2021 Sujaykumar.Hublikar <[email protected]>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```
Copyright (c) 2021 [Sujay](https://github.com/sujaykumarh) Licensed under `Apache License v2.0` read [LICENSE](./LICENSE)
3 changes: 0 additions & 3 deletions dist/.gitignore

This file was deleted.

Empty file removed dist/.gitkeep
Empty file.
Loading