You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Older doc versions should have a canonical link in the head that points to the latest documentation page. Example:
<!-- in a page under v1.0 --><head><!-- ... --><linkrel="canonical" href="https://doc.traefik.io/<product_name>" /><!-- ... --></head>
Titles in older versions should have the Product name and version as a suffix, and should not have more than 65 characters. For example:
Overview | Traefik | v2.0
sitemap.xml and sitemap.xml.gz should not exist under version folders.
How to use it
You can use the seo directly from command line, and using the path to the documentation dir as parameter.
Examples:
seo -path /path/to/doc/traefik
seo -path /path/to/doc/traefik-mesh
seo -path /path/to/doc/traefik-pilot
seo -path /path/to/doc/traefik-enterprise
seo -path ./site -product traefik
seo -path ./site -product "traefik-mesh"
seo -path ./site -product "traefik-pilot"
seo -path ./site -product "traefik-enterprise"
About
This program aims to process a documentation folder from traefik/doc and iterate each HTML file adding the requirements for a better SEO