We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bced1e3 commit 3935681Copy full SHA for 3935681
lib/src/model/category.dart
@@ -112,6 +112,8 @@ class Category
112
113
String get filePath => 'topics/$fileName';
114
115
+ /// Prior to dartdoc 8.3.4 the `displayName` was used in the file path
116
+ /// for category pages. We now create a redirect file here instead.
117
String get redirectFilePath => 'topics/$name-topic.html';
118
119
@override
lib/templates/category_redirect.html
@@ -7,4 +7,4 @@
7
<body>
8
<p><a href="{{ #useBaseHref }}{{ #htmlBase }}{{{ htmlBase }}}{{ /htmlBase }}{{ /useBaseHref }}{{ self.href }}">New URL</a></p>
9
</body>
10
-</html>
+</html>
0 commit comments