@@ -20,7 +20,7 @@ An even more fragile process that needs documenting and fixing. Note specificall
20
20
21
21
WIP (Work In Progress) Docs on how to do this:
22
22
23
- 1 . In ` _data/<year>.<city>.speakers .yaml ` , add a ` youtubeId: 12345678901 ` key value pair to each talk. See also ` _scripts/insert-video-ids.py ` .
23
+ 1 . In ` _data/<city>-<year>-sessions .yaml ` , add a ` youtubeId: 12345678901 ` key value pair to each talk. See also ` _scripts/insert-video-ids.py ` .
24
24
25
25
2 . Make sure the directory ` videos/<city>/<year> ` is included in the Video Archive ` toctree ` in ` docs/videos/index.rst ` .
26
26
@@ -29,25 +29,13 @@ WIP (Work In Progress) Docs on how to do this:
29
29
4 . Commit the * relevant* changed files:
30
30
31
31
* ` docs/videos/index.rst `
32
- * ` _data/<year>.<city>.speakers .yaml `
32
+ * ` _data/<city>-<year>-sessions .yaml `
33
33
* ` docs/videos/<city>/<year>/* `
34
34
35
35
5 . If you want to preview locally:
36
36
37
37
1 . Run ` BUILD_VIDEOS=True make livehtml ` and browse the new video pages at ` http://127.0.0.1:8888 ` .
38
38
39
- #### Troubleshooting
40
-
41
- If you run into trouble with broken links to video files, have a look at ` _ext/fix_video_yaml.py ` :
42
-
43
- 1 . Add a line at the end with the relevant places and dates.
44
-
45
- 2 . Change to the ` _ext ` directory and run it:
46
-
47
- ` python fix_video_yaml.py `
48
-
49
- 3 . Commit the fixed ` _data/<year>.<city>.speakers.yaml ` file.
50
-
51
39
### Prerequisites for generating the docs locally
52
40
53
41
1 . Install ` python 3.9.x ` using your package manager, if not installed already. You'll probably need ` root ` privileges to do this.
0 commit comments