Skip to content

Commit

Permalink
.markdown → .md
Browse files Browse the repository at this point in the history
  • Loading branch information
arp242 committed Dec 8, 2023
1 parent 003b664 commit b95376e
Show file tree
Hide file tree
Showing 48 changed files with 17 additions and 18 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ when updating. Also see: https://www.arp242.net/goatcounter-1.2.html
GoatCounter now tracks unique visits (without using cookies).

Technical documentation about the implementation is in
[doc/sessions.markdown](doc/sessions.markdown).
[doc/sessions.md](doc/sessions.md).

There are two ways to display the older stats:

Expand Down
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Motivation for choosing the EUPL: https://www.arp242.net/license.html
The count.js integration script is licensed under the permissive ISC license to
ease integrating it. GoatCounter also contains various 3rd-party components,
most of which are MIT or BSD licensed (the licenses for which are included in
this file as well). See docs/sbom.markdown for a list of all dependencies and
their licenses.
this file as well). See docs/sbom.md for a list of all dependencies and their
licenses.


––– public/count.js; ISC license ––––––––––––––––––––––––––––––––––––––––––––––
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ There are two ways to run this: as hosted service on [goatcounter.com][www], or
run it on your own server. The source code is completely Open Source/Free
Software, and it can be self-hosted without restrictions.

See [docs/rationale.markdown](docs/rationale.markdown) for some more details on
the *"why?"* of this project.
See [docs/rationale.md](docs/rationale.md) for some more details on the *"why?"*
of this project.

There's a live demo at [https://stats.arp242.net](https://stats.arp242.net).

Expand Down Expand Up @@ -57,7 +57,7 @@ Features

[privacy]: https://www.goatcounter.com/privacy
[gdpr]: https://www.goatcounter.com/gdpr
[sessions]: https://github.com/arp242/goatcounter/blob/master/docs/sessions.markdown
[sessions]: https://github.com/arp242/goatcounter/blob/master/docs/sessions.md


Getting data in to GoatCounter
Expand Down Expand Up @@ -195,7 +195,7 @@ This will ask for a password for your new account; you can also add a password
on the commandline with `-password`. You must also pass the `-db` flag here if
you use something other than the default.

[bench]: https://github.com/arp242/goatcounter/blob/master/docs/benchmark.markdown
[bench]: https://github.com/arp242/goatcounter/blob/master/docs/benchmark.md

### Updating
You may need to run the database migrations when updating. Use `goatcounter
Expand Down Expand Up @@ -244,5 +244,5 @@ TLS is disabled by default, it will listen on localhost:8081, the application
will automatically restart on recompiles, templates and static files will be
read directly from the filesystem, and a few other minor changes.

See [.github/CONTRIBUTING.markdown](/.github/CONTRIBUTING.markdown) for more
details on how to run a development server, write patches, etc.
See [.github/CONTRIBUTING.md](/.github/CONTRIBUTING.md) for more details on how
to run a development server, write patches, etc.
2 changes: 1 addition & 1 deletion cmd/goatcounter/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ Detailed documentation on the -db flag:
SQLite should work fine for most smaller site like blogs and such, but for
more serious usage PostgreSQL is recommended. Some basic benchmarks
comparing the two can be found here:
https://github.com/arp242/goatcounter/blob/master/docs/benchmark.markdown
https://github.com/arp242/goatcounter/blob/master/docs/benchmark.md
The database is automatically created for the "serve" command, but you need
to add -createdb to any other commands to create the database. This is to
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/benchmark.markdown → docs/benchmark.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ I used [hey][hey] to run the actual benchmarks with a simple script:

#!/bin/sh
#
# https://github.com/arp242/goatcounter/blob/master/docs/benchmark.markdown
# https://github.com/arp242/goatcounter/blob/master/docs/benchmark.md
# Requires "hey": https://github.com/rakyll/hey

url=https://gcbench.arp242.net
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion handlers/website.go
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ func (h website) help(w http.ResponseWriter, r *http.Request) error {
return err
}

_, err = fs.Stat(fsys, cp+".markdown")
_, err = fs.Stat(fsys, cp+".md")
if err != nil {
if !errors.Is(err, os.ErrNotExist) {
return err
Expand Down
3 changes: 1 addition & 2 deletions public/count.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// GoatCounter: https://www.goatcounter.com
// This file (and *only* this file) is released under the ISC license:
// https://opensource.org/licenses/ISC
// This file is released under the ISC license: https://opensource.org/licenses/ISC
;(function() {
'use strict';

Expand Down
2 changes: 1 addition & 1 deletion tpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func init() {
if err != nil {
panic(err)
}
f, err := fs.ReadFile(fsys, file+".markdown")
f, err := fs.ReadFile(fsys, file+".md")
if err != nil {
panic(err)
}
Expand Down
2 changes: 1 addition & 1 deletion tpl/design.gohtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{/*************************************************************************
* This file was generated from tpl/design.markdown. DO NOT EDIT.
* This file was generated from tpl/design.md. DO NOT EDIT.
*************************************************************************/}}

{{template "_top.gohtml" .}}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tpl/home.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<div>
<p>Identify <strong>unique visits</strong> without cookies or
persistently storing any personal data
(<a href="https://github.com/arp242/goatcounter/blob/master/docs/sessions.markdown#goatcounters-solution">technical details</a>).
(<a href="https://github.com/arp242/goatcounter/blob/master/docs/sessions.md#goatcounters-solution">technical details</a>).
</p>

<p>Keeps useful statistics such as <strong>browser</strong> information,
Expand Down
2 changes: 1 addition & 1 deletion tpl/why.gohtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{/*************************************************************************
* This file was generated from tpl/why.markdown. DO NOT EDIT.
* This file was generated from tpl/why.md. DO NOT EDIT.
*************************************************************************/}}

{{template "_top.gohtml" .}}
Expand Down
File renamed without changes.

0 comments on commit b95376e

Please sign in to comment.