diff --git a/.htmltest.yml b/.htmltest.yml index 264820a29..bff674225 100644 --- a/.htmltest.yml +++ b/.htmltest.yml @@ -1,6 +1,5 @@ DirectoryPath: site -CheckDoctype: false CheckMailto: false IgnoreAltMissing: true diff --git a/docs/_redirects b/docs/_redirects index 62213af00..b7f1a6b69 100644 --- a/docs/_redirects +++ b/docs/_redirects @@ -5,10 +5,11 @@ /intro/common-mistakes /contest/common-mistakes /intro/common-tricks /contest/common-tricks /intro/non-trad /contest/problems -/intro/judgers /tools/judgers +/intro/judgers /tools/judger +/tools/judgers /tools/judger /intro/wsl /tools/wsl -/intro/spj /tools/spj -/intro/testlib/index /tools/testlib/index +/intro/spj /tools/special-judge +/intro/testlib /tools/testlib /intro/testlib/general /tools/testlib/general /intro/testlib/generator /tools/testlib/generator /intro/testlib/validator /tools/testlib/validator @@ -43,8 +44,8 @@ /math/basis /math/linear-algebra/basis /math/char-poly /math/linear-algebra/char-poly /math/gauss /math/linear-algebra/gauss -/math/linear-algebra-index /math/linear-algebra/index -/math/martix /math/linear-algebra/martix +/math/linear-algebra-index /math/linear-algebra +/math/martix /math/linear-algebra/matrix /math/vector /math/linear-algebra/vector /math/gen-func/intro /math/poly/intro /math/gen-func/symbolic-method /math/poly/symbolic-method diff --git a/scripts/post-build/redirect/generate-redirects.py b/scripts/post-build/redirect/generate-redirects.py index 08c09c447..9b2a8a725 100644 --- a/scripts/post-build/redirect/generate-redirects.py +++ b/scripts/post-build/redirect/generate-redirects.py @@ -9,6 +9,4 @@ for cur in f.readlines(): html_path = os.path.join('site', s.lstrip('/'), 'index.html') os.makedirs(os.path.dirname(html_path), exist_ok=True) with open(html_path, 'w') as html_file: - # print(f"") - html_file.write(f"\n") - # print(html_path) + html_file.write(f'')