This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Add documentation, redirect to topical, and remove sanity keys
- Loading branch information
1 parent
1cd1873
commit bcaeb76
Showing
3 changed files
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Deleting a page Procedure | ||
|
||
## For every file you delete do the following: | ||
1. ### imports (if there are any) | ||
Is the imported function/variable/type used elsewhere? | ||
- Yes. only delete the import. | ||
- No. Delete that file too. (Go recursively through the files meaning go to the first step of this list) | ||
2. ### getStaticProps | ||
- Delete the sanity lokalize keys in the nl_export.json | ||
- Delete the JSON schema if the proto data is not used elsewhere. | ||
- Delete the Sanity schema/structure if the imported sanity content is not used elsewhere. | ||
|
||
3. ### delete the whole page file. | ||
- solve typescript errors | ||
|
||
4. ### follow up search for the page | ||
- Look into the redirect.js file and remove/adjust the current or add redirects if needed. | ||
- Look into the sitemap for references. | ||
- Check the sidebar and layout files for references. | ||
- Do an overall search for the page name: camelCased, and PascalCased. | ||
|
||
5. ### Do other checks | ||
- ```yarn typecheck``` | ||
- ```yarn bootstrap``` | ||
- ```yarn build:app``` | ||
- ```yarn start``` | ||
|
||
|
||
[Back to index](index.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,32 @@ | ||
timestamp,action,key,document_id,move_to | ||
2023-03-01T14:33:00.243Z,delete,pages.measures_page.nl.titel,jF33EuwumlGuwav2FD42bc,__ | ||
2023-03-01T14:33:00.244Z,delete,pages.measures_page.vr.linktext_regionpage,jF33EuwumlGuwav2FD42qi,__ | ||
2023-03-01T14:33:00.244Z,delete,pages.measures_page.vr.metadata.title,jF33EuwumlGuwav2FD42vk,__ | ||
2023-03-01T14:33:00.244Z,delete,pages.measures_page.vr.titel,jF33EuwumlGuwav2FD42k0,__ | ||
2023-03-01T14:33:00.244Z,delete,pages.measures_page.vr.titel_aanvullendemaatregelen,jF33EuwumlGuwav2FD42sO,__ | ||
2023-03-01T14:33:00.244Z,delete,pages.measures_page.vr.toelichting_aanvullendemaatregelen,jF33EuwumlGuwav2FD42u4,__ | ||
2023-03-01T14:33:00.245Z,delete,pages.measures_page.vr.urls.VR01,jF33EuwumlGuwav2FD432S,__ | ||
2023-03-01T14:33:00.245Z,delete,pages.measures_page.vr.urls.VR02,jF33EuwumlGuwav2FD4348,__ | ||
2023-03-01T14:33:00.245Z,delete,pages.measures_page.vr.urls.VR03,jF33EuwumlGuwav2FD435o,__ | ||
2023-03-01T14:33:00.245Z,delete,pages.measures_page.vr.urls.VR04,jF33EuwumlGuwav2FD437U,__ | ||
2023-03-01T14:33:00.245Z,delete,pages.measures_page.vr.urls.VR05,jF33EuwumlGuwav2FD439A,__ | ||
2023-03-01T14:33:00.245Z,delete,pages.measures_page.vr.urls.VR06,jF33EuwumlGuwav2FD43Aq,__ | ||
2023-03-01T14:33:00.245Z,delete,pages.measures_page.vr.urls.VR07,jF33EuwumlGuwav2FD43CW,__ | ||
2023-03-01T14:33:00.245Z,delete,pages.measures_page.vr.urls.VR08,jF33EuwumlGuwav2FD43EC,__ | ||
2023-03-01T14:33:00.245Z,delete,pages.measures_page.vr.urls.VR09,jF33EuwumlGuwav2FD43Fs,__ | ||
2023-03-01T14:33:00.245Z,delete,pages.measures_page.vr.urls.VR10,jF33EuwumlGuwav2FD43HY,__ | ||
2023-03-01T14:33:00.245Z,delete,pages.measures_page.vr.urls.VR11,jF33EuwumlGuwav2FD43JE,__ | ||
2023-03-01T14:33:00.245Z,delete,pages.measures_page.vr.urls.VR12,jF33EuwumlGuwav2FD43Ku,__ | ||
2023-03-01T14:33:00.245Z,delete,pages.measures_page.vr.urls.VR13,jF33EuwumlGuwav2FD43Ma,__ | ||
2023-03-01T14:33:00.245Z,delete,pages.measures_page.vr.urls.VR14,jF33EuwumlGuwav2FD43OG,__ | ||
2023-03-01T14:33:00.245Z,delete,pages.measures_page.vr.urls.VR15,jF33EuwumlGuwav2FD43Pw,__ | ||
2023-03-01T14:33:00.245Z,delete,pages.measures_page.vr.urls.VR16,jF33EuwumlGuwav2FD43Rc,__ | ||
2023-03-01T14:33:00.245Z,delete,pages.measures_page.vr.urls.VR17,jF33EuwumlGuwav2FD43TI,__ | ||
2023-03-01T14:33:00.245Z,delete,pages.measures_page.vr.urls.VR18,jF33EuwumlGuwav2FD43Uy,__ | ||
2023-03-01T14:33:00.245Z,delete,pages.measures_page.vr.urls.VR19,jF33EuwumlGuwav2FD43We,__ | ||
2023-03-01T14:33:00.245Z,delete,pages.measures_page.vr.urls.VR20,jF33EuwumlGuwav2FD43YK,__ | ||
2023-03-01T14:33:00.245Z,delete,pages.measures_page.vr.urls.VR21,jF33EuwumlGuwav2FD43a0,__ | ||
2023-03-01T14:33:00.245Z,delete,pages.measures_page.vr.urls.VR22,jF33EuwumlGuwav2FD43bg,__ | ||
2023-03-01T14:33:00.246Z,delete,pages.measures_page.vr.urls.VR23,jF33EuwumlGuwav2FD43dM,__ | ||
2023-03-01T14:33:00.246Z,delete,pages.measures_page.vr.urls.VR24,jF33EuwumlGuwav2FD43f2,__ | ||
2023-03-01T14:33:00.246Z,delete,pages.measures_page.vr.urls.VR25,jF33EuwumlGuwav2FD43gi,__ |