Skip to content

Commit

Permalink
Remove GitLab repo
Browse files Browse the repository at this point in the history
  • Loading branch information
bimlas committed Feb 4, 2024
1 parent 57f62ae commit 24b5ec1
Show file tree
Hide file tree
Showing 9 changed files with 86 additions and 52 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
on:
push:
branches:
- master
jobs:
deploy:
name: Build & Deploy
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
steps:
- name: Checkout branch
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "20.x"
- name: Build
run: |
npm ci
npm run build
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload Artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./output
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/package*.json
/node_modules
node_modules/
tiddlers/$__StoryList.tid
output/
$__StoryList.tid
34 changes: 0 additions & 34 deletions .gitlab-ci.yml

This file was deleted.

7 changes: 3 additions & 4 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
:demo-page: https://bimlas.gitlab.io/tw5-highlight-searched-text/
:json: https://bimlas.gitlab.io/tw5-highlight-searched-text/tw5-highlight-searched-text.json
:demo-page: https://bimlas.github.io/tw5-highlight-searched-text/
:json: https://bimlas.github.io/tw5-highlight-searched-text/tw5-highlight-searched-text.json

= Highlight searched text plugin for TiddlyWiki 5

For details, see the link:{demo-page}[demo page].

* https://gitlab.com/bimlas/tw5-highlight-searched-text/ (official repository)
* https://github.com/bimlas/tw5-highlight-searched-text/ (mirror, please star if you like the plugin)
* https://github.com/bimlas/tw5-highlight-searched-text/ (please star if you like the plugin)

== How to install?

Expand Down
24 changes: 24 additions & 0 deletions package-lock.json

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

12 changes: 12 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "tw5-highlight-searched-text",
"author": "bimlas",
"scripts": {
"build": "npm run build:html; npm run build:json",
"build:html": "TIDDLYWIKI_PLUGIN_PATH=plugins tiddlywiki --build index",
"build:json": "TIDDLYWIKI_PLUGIN_PATH=plugins tiddlywiki --render '$:/plugins/bimlas/highlight-searched-text' tw5-highlight-searched-text.json text/plain '$:/core/templates/json-tiddler'"
},
"dependencies": {
"tiddlywiki": "^5.3.3"
}
}
14 changes: 7 additions & 7 deletions plugins/highlight-searched-text/README/CHANGELOG.tid
Original file line number Diff line number Diff line change
Expand Up @@ -6,46 +6,46 @@ I'm trying to follow the rules of [[Semantic Versioning|https://semver.org/]].

!! 0.5.0 - 2021-03-26

[[See GitLab for detailed change history of this release|https://gitlab.com/bimlas/tw5-highlight-searched-text/compare/v0.4.0...v0.5.0]]
[[See GitHub for detailed change history of this release|https://github.com/bimlas/tw5-highlight-searched-text/compare/v0.4.0...v0.5.0]]

* Add option to disable automatic highlighting
* Fixed a bug that could have caused RSOD in some cases
* Hide toolbar on printing

!! 0.4.0 - 2020-02-13

[[See GitLab for detailed change history of this release|https://gitlab.com/bimlas/tw5-highlight-searched-text/compare/v0.3.2...v0.4.0]]
[[See GitHub for detailed change history of this release|https://github.com/bimlas/tw5-highlight-searched-text/compare/v0.3.2...v0.4.0]]

* Add option to change toolbar height and position

!! 0.3.2 - 2020-02-13

[[See GitLab for detailed change history of this release|https://gitlab.com/bimlas/tw5-highlight-searched-text/compare/v0.3.1...0.3.2]]
[[See GitHub for detailed change history of this release|https://github.com/bimlas/tw5-highlight-searched-text/compare/v0.3.1...0.3.2]]

* Search was performed inside CodeMirror texteditor which caused RSOD

!! 0.3.1 - 2019-11-19

[[See GitLab for detailed change history of this release|https://gitlab.com/bimlas/tw5-highlight-searched-text/compare/v0.3.0...v0.3.1]]
[[See GitHub for detailed change history of this release|https://github.com/bimlas/tw5-highlight-searched-text/compare/v0.3.0...v0.3.1]]

* The counter showed n-1 matches

!! 0.3.0 - 2019-11-19

[[See GitLab for detailed change history of this release|https://gitlab.com/bimlas/tw5-highlight-searched-text/compare/v0.2.0...v0.3.0]]
[[See GitHub for detailed change history of this release|https://github.com/bimlas/tw5-highlight-searched-text/compare/v0.2.0...v0.3.0]]

* Add counter
* Move templates to their own directory

!! 0.2.0 - 2019-11-18

[[See GitLab for detailed change history of this release|https://gitlab.com/bimlas/tw5-highlight-searched-text/compare/v0.1.1...v0.2.0]]
[[See GitHub for detailed change history of this release|https://github.com/bimlas/tw5-highlight-searched-text/compare/v0.1.1...v0.2.0]]

* Add buttons and a toolbar to navigate between matches on page ("find in page" feature of browsers)

!! 0.1.1 - 2019-11-12

[[See GitLab for detailed change history of this release|https://gitlab.com/bimlas/tw5-highlight-searched-text/compare/v0.1.0...v0.1.1]]
[[See GitHub for detailed change history of this release|https://github.com/bimlas/tw5-highlight-searched-text/compare/v0.1.0...v0.1.1]]

* Add option to change the title of the tiddler containing the search term

Expand Down
5 changes: 2 additions & 3 deletions plugins/highlight-searched-text/README/README.tid
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ Since this doesn't require a "Find in page" browser, ''it is convenient to use o

The plugin uses the [[Mark.js library|https://markjs.io/]].

* https://bimlas.gitlab.io/tw5-highlight-searched-text (demo + install)
* https://gitlab.com/bimlas/tw5-highlight-searched-text (main repository)
* https://github.com/bimlas/tw5-highlight-searched-text (mirror, ''please star if you like the plugin'')
* https://bimlas.github.io/tw5-highlight-searched-text (demo + install)
* https://github.com/bimlas/tw5-highlight-searched-text (''please star if you like the plugin'')

!! Known issues

Expand Down
2 changes: 1 addition & 1 deletion plugins/highlight-searched-text/plugin.info
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "bimlas",
"version": "0.5.0",
"core-version": ">=5.1.18",
"source": "https://gitlab.com/bimlas/tw5-highlight-searched-text",
"source": "https://github.com/bimlas/tw5-highlight-searched-text",
"plugin-type": "plugin",
"list": "README/README settings/SETTINGS README/CHANGELOG"
}

0 comments on commit 24b5ec1

Please sign in to comment.