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
Add redirects.yml to publish renames/delations in links.json for dependent docsets. (#556)
* Add redirect information to docset.yml
* Support all scenarios
* add documentation for redirects
* move redirects to separate file
* add target validation for redirect files and anchors
* fix accidental touch of pages-nav.ts
* fix failing testS
* update tests to use real redirect and anchor page data
* Update docs/contribute/redirects.md
Co-authored-by: shainaraskas <[email protected]>
---------
Co-authored-by: shainaraskas <[email protected]>
If you [move files around](move.md) or simply need to delete a few pages you might end up in a chicken-and-egg situation. The files you move or delete might still be linked to by other [documentation sets](../configure/content-set/index.md).
7
+
8
+
Redirects allow you to force other documentation sets to resolve old links to their new location.
9
+
This allows you to publish your changes and work to update the other documentation sets.
10
+
11
+
## File location.
12
+
13
+
The file should be located next to your `docset.yml` file
14
+
15
+
*`redirects.yml` if you use `docset.yml`
16
+
*`_redirects.yml` if you use `_docset.yml`
17
+
18
+
## Syntax
19
+
20
+
A full overview of the syntax, don't worry we'll zoom after!
0 commit comments