Skip to content

Commit 2576b55

Browse files
committed
chore: Better readme for both WP and GitHub
1 parent 2546a1d commit 2576b55

File tree

6 files changed

+49
-25
lines changed

6 files changed

+49
-25
lines changed

Gulpfile.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const pinfo = require("./package.json");
66

77
gulp.task("readme-version", function () {
88
return gulp
9-
.src("src/README.md")
9+
.src("src/readme.*")
1010
.pipe(replace("$PLUGINVERSION$", pinfo.version))
1111
.pipe(replace("$PLUGINATLEAST$", pinfo.config.eduadmin.requiresAtLeast))
1212
.pipe(replace("$PLUGINTESTEDTO$", pinfo.config.eduadmin.testedUpTo))
@@ -34,7 +34,7 @@ gulp.task("plugin-version", function () {
3434

3535
gulp.task("default", function () {
3636
gulp.watch("src/eduadmin-google.php", gulp.series("plugin-version"));
37-
gulp.watch("src/README.md", gulp.series("readme-version"));
37+
gulp.watch("src/readme.*", gulp.series("readme-version"));
3838
gulp.watch(
3939
"package.json",
4040
gulp.series("readme-version", "plugin-version")

README.md

-23
This file was deleted.

readme.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# EduAdmin - Google Analytics / Tag Manager
2+
3+
- Tags: booking, participants, courses, events, eduadmin, lega online, google, analytics, tag manager
4+
- Requires at least: 5.8
5+
- Tested up to: 6.4
6+
- Stable tag: 1.0.0
7+
- Requires PHP: 7.0
8+
- License: GPL3
9+
- License-URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10+
11+
## Description
12+
13+
This plugin adds support for Google Analytics / Tag Manager to
14+
your [EduAdmin-Wordpress plugin](https://github.com/MultinetInteractive/EduAdmin-WordPress).
15+
16+
The plugin will add javascript to your website that will send events to Google Analytics / Tag Manager when a user
17+
interacts with the booking form.
18+
19+
The domain of the javascript will be from https://www.googletagmanager.com, and you can find their terms of service
20+
here:
21+
https://www.google.com/analytics/terms/tag-manager/
22+
23+
This plugin requires that you're using the [EduAdmin-Wordpress plugin](https://wordpress.org/plugins/eduadmin-booking/)

scripts/github-deploy.sh

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ rm -fR "$PROJECT_ROOT"/scripts
4242
rm -fR "$PROJECT_ROOT"/.git
4343
rm -fR "$PROJECT_ROOT"/node_modules
4444
rm -fR "$PROJECT_ROOT"/src
45+
rm -fR "$PROJECT_ROOT"/readme.md
4546

4647
# Make sure we are in the project root
4748
cd "$PROJECT_ROOT"

src/readme.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# EduAdmin - Google Analytics / Tag Manager
2+
3+
- Tags: booking, participants, courses, events, eduadmin, lega online, google, analytics, tag manager
4+
- Requires at least: $PLUGINATLEAST$
5+
- Tested up to: $PLUGINTESTEDTO$
6+
- Stable tag: $PLUGINVERSION$
7+
- Requires PHP: $PLUGINREQUIREDPHP$
8+
- License: GPL3
9+
- License-URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10+
11+
## Description
12+
13+
This plugin adds support for Google Analytics / Tag Manager to
14+
your [EduAdmin-Wordpress plugin](https://github.com/MultinetInteractive/EduAdmin-WordPress).
15+
16+
The plugin will add javascript to your website that will send events to Google Analytics / Tag Manager when a user
17+
interacts with the booking form.
18+
19+
The domain of the javascript will be from https://www.googletagmanager.com, and you can find their terms of service
20+
here:
21+
https://www.google.com/analytics/terms/tag-manager/
22+
23+
This plugin requires that you're using the [EduAdmin-Wordpress plugin](https://wordpress.org/plugins/eduadmin-booking/)

src/README.md src/readme.txt

File renamed without changes.

0 commit comments

Comments
 (0)