diff --git a/README.md b/README.md index 88e5f51..fbbae55 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# fflint [fflint logo](https://www.fflint.org/) +# fflint [fflint logo](https://www.fflint.dev/) [![build](https://github.com/FileFormatInfo/fflint/actions/workflows/build.yaml/badge.svg)](https://github.com/FileFormatInfo/fflint/actions/workflows/build.yaml) [![release](https://github.com/FileFormatInfo/fflint/actions/workflows/release.yaml/badge.svg)](https://github.com/FileFormatInfo/fflint/actions/workflows/release.yaml) @@ -15,11 +15,11 @@ fflint is a linter for file formats. Are your files: Perfect for your CI/CD pipeline to make sure bad files don't get committed. -[**Documentation**](https://www.fflint.org/) +[**Documentation**](https://www.fflint.dev/) ## Installation -The [latest releases](https://github.com/FileFormatInfo/fflint/releases/latest) are available on Github. [Detailed instructions](https://www.fflint.org/install.html). +The [latest releases](https://github.com/FileFormatInfo/fflint/releases/latest) are available on Github. [Detailed instructions](https://www.fflint.dev/install.html). ## Usage @@ -34,7 +34,7 @@ fflint CMD [options...] files... * `files...` are the files to check More: -* Complete documentation is on [**www.fflint.org**](https://www.fflint.org) +* Complete documentation is on [**www.fflint.dev**](https://www.fflint.dev) * Run `fflint help` to see a list of available commands * Run `--help` for any command to see options specific to that command. Example: `fflint svg --help` diff --git a/TODO.md b/TODO.md index 9224041..dbe060e 100644 --- a/TODO.md +++ b/TODO.md @@ -2,7 +2,7 @@ - [ ] doc: [svg role and title](https://www.smashingmagazine.com/2021/05/accessible-svg-patterns-comparison/) - [ ] doc and README: share links -- [ ] workflow: run fflint on the fflint.org website +- [ ] workflow: run fflint on the fflint.dev website - [ ] workflow: go test - [ ] test without ./main.go - [ ] shared/ImageFlags.go diff --git a/cmd/docgen/main.go b/cmd/docgen/main.go index 9d21303..424268a 100644 --- a/cmd/docgen/main.go +++ b/cmd/docgen/main.go @@ -49,7 +49,7 @@ func main() { var rootCmd = &cobra.Command{ Use: "fflint", Short: "A linter to make sure your files are valid", - Long: `See [www.fflint.org](https://www.fflint.org/) for detailed instructions`, + Long: `See [www.fflint.dev](https://www.fflint.dev/) for detailed instructions`, } shared.AddCommon(rootCmd) diff --git a/cmd/fflint/main.go b/cmd/fflint/main.go index 984d199..b578e93 100644 --- a/cmd/fflint/main.go +++ b/cmd/fflint/main.go @@ -20,7 +20,7 @@ func main() { var rootCmd = &cobra.Command{ Use: "fflint", Short: "A linter to make sure your files are valid", - Long: `See [www.fflint.org](https://www.fflint.org/) for detailed instructions`, + Long: `See [www.fflint.dev](https://www.fflint.dev/) for detailed instructions`, Version: version, SilenceErrors: true, SilenceUsage: true, diff --git a/cmd/mangen/main.go b/cmd/mangen/main.go index 56e9755..affc5ea 100644 --- a/cmd/mangen/main.go +++ b/cmd/mangen/main.go @@ -15,7 +15,7 @@ func main() { var rootCmd = &cobra.Command{ Use: "fflint", Short: "A linter to make sure your files are valid", - Long: `See [www.fflint.org](https://www.fflint.org/) for detailed instructions`, + Long: `See [www.fflint.dev](https://www.fflint.dev/) for detailed instructions`, } shared.AddCommon(rootCmd) diff --git a/cmd/online/assets/index.html b/cmd/online/assets/index.html index 2783f64..a107571 100644 --- a/cmd/online/assets/index.html +++ b/cmd/online/assets/index.html @@ -13,7 +13,7 @@

fflint API

-

A simple online service for fflint, the file format linter.

+

A simple online service for fflint, the file format linter.

A service of FileFormat.info

diff --git a/cmd/online/assets/robots.txt b/cmd/online/assets/robots.txt index e0b0efc..ed5fb3a 100644 --- a/cmd/online/assets/robots.txt +++ b/cmd/online/assets/robots.txt @@ -1,6 +1,7 @@ -# robots.txt for fflint.org online API +# robots.txt for fflint.dev online API # -# Just a single page, but feel free to index it! +# everything is indexable! # User-Agent: * -Allow: / \ No newline at end of file +Allow: / +Disallow: /honeypot.txt \ No newline at end of file diff --git a/docs/_config.yml b/docs/_config.yml index ca6ec6f..6bc3d15 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -1,5 +1,5 @@ # -# _config.yml for www.fflint.org +# _config.yml for www.fflint.dev # collections: @@ -7,7 +7,7 @@ collections: output: true exclude: [ "CNAME" ] permalink: /blog/:year/:month/:day/:title/index.:output_ext -production_url: https://www.fflint.org +production_url: https://www.fflint.dev title: fflint kramdown: input: GFM diff --git a/docs/files.md b/docs/files.md index 5ec38bc..86df3f7 100644 --- a/docs/files.md +++ b/docs/files.md @@ -41,7 +41,7 @@ This is useful if you are downloading or generating a file and do not need to st Example: ``` -curl --silent https://www.fflint.org/favicon.ico | fflint ico - +curl --silent https://www.fflint.dev/favicon.ico | fflint ico - ``` If you have a directory named `-` (i.e. a single dash), you can force non-stdin mode by prefixing it with `./`: diff --git a/docs/robots.txt b/docs/robots.txt index 58caa45..7f744aa 100644 --- a/docs/robots.txt +++ b/docs/robots.txt @@ -1,8 +1,7 @@ +# robots.txt for fflint.dev # -# robots.txt for fflint +# Documentation for fflint: everything is indexable # - -Sitemap: https://www.fflint.org/sitemap.xml - User-Agent: * +Allow: / Disallow: /honeypot.txt diff --git a/testdata/xml.txt b/testdata/xml.txt index 8677a34..60d5b03 100644 --- a/testdata/xml.txt +++ b/testdata/xml.txt @@ -19,8 +19,8 @@ exec fflint xml --schema=siteindex.xsd siteindex.xml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> - https://www.fflint.org/index.html - https://www.fflint.org/faq.html + https://www.fflint.dev/index.html + https://www.fflint.dev/faq.html -- siteindex.xml --