From fcc4c4ebd758d2bea4a6b7865261557d00030cd1 Mon Sep 17 00:00:00 2001 From: Denis Ah-Kang Date: Fri, 8 Nov 2024 18:37:56 +0400 Subject: [PATCH] delete howto edit since we no longer have submodules --- HOWTO-EDIT.md | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 HOWTO-EDIT.md diff --git a/HOWTO-EDIT.md b/HOWTO-EDIT.md deleted file mode 100644 index 7b66ec7..0000000 --- a/HOWTO-EDIT.md +++ /dev/null @@ -1,33 +0,0 @@ -# How to edit - -Pull requests are welcome from the Community. This Guide is for you after all. - -The general edition of the Guidebook is managed by [@w3c/guidebook](https://github.com/orgs/w3c/teams/guidebook) but many areas are maintained by separate individuals or teams (check out the commits history of a file to see who). - -## Dealing with submodules - -Avoid editing the files within a submodule, unless you want to struggle updating the submodules later. Edit those in the dedicated repositories instead. - -The exact commit (e.g. revision) of each submodule is stored in the w3c/guide repository. Those needs to be updated in order to expose the latest version. - -### Updating the submodules - -If it's the first time you check-out the repo you need to use --init first: - -``` -git submodule update --init --recursive -``` - -After that, you can update to latest tips of remote branches: - -``` -git submodule update --recursive --remote -``` - -then commit your updates - -``` -git commit -a -m "[chore] submodules update" -``` - -