Change sample config in readme and add a todo

12ab867dfc9d2d5e1eece260a17f83d08537e8af

Tucker McKnight <tmcknight@instructure.com> | Wed Jan 28 2026

Change sample config in readme and add a todo
README.md:33
Before
32
33
34
35
36
37
38
39
40
+   eleventyConfig.addPlugin(repoViewer, {
+     repos: {
+       "My Cool Project": {
+         _type: "git",
+         location: "/home/me/code/cool-project",
+         defaultBranch: 'main',
+         branchesToPull: ['main', 'develop'],
+       },
+     },
+     path: "/repos",
After
32
33
34

35
36
37
38
39
+   eleventyConfig.addPlugin(repoViewer, {
+     repos: {
+       "My Cool Project": {
⁣
+         location: "/home/me/code/cool-project",
+         defaultBranch: 'main',
+         branchesToPull: ['main', 'develop', 'release/**'],
+       },
+     },
+     path: "/repos",
example_site/eleventy.config.js:1
Before
0
1
2
import repoViewer from "eleventy-plugin-repoviewer"
import eleventyRss from "@11ty/eleventy-plugin-rss"
import { RenderPlugin } from "@11ty/eleventy"
import syntaxHighlight from "@11ty/eleventy-plugin-syntaxhighlight"
After
0
1
2
import repoViewer, {beforeHook} from "eleventy-plugin-repoviewer"
import eleventyRss from "@11ty/eleventy-plugin-rss"
import { RenderPlugin } from "@11ty/eleventy"
import syntaxHighlight from "@11ty/eleventy-plugin-syntaxhighlight"
example_site/eleventy.config.js:8
Before
7
8
9
10
11
12
13
14
15
16
17
18
19


20

21
  eleventyConfig.addPlugin(RenderPlugin)
  eleventyConfig.addPlugin(syntaxHighlight)

  eleventyConfig.addPlugin(repoViewer, {
    baseUrl: "http://localhost",
    repos: {
      "eleventy-plugin-repoviewer": {
        _type: "git",
        defaultBranch: "main",
        branchesToPull: ["main"],
        location: "../",
      }
    }
⁣
⁣
  })
⁣
};
After
7
8
9
10
11
12
13

14
15
16
17
18
19
20
21
22
23
  eleventyConfig.addPlugin(RenderPlugin)
  eleventyConfig.addPlugin(syntaxHighlight)

  const reposConfig = {
    baseUrl: "http://localhost",
    repos: {
      "eleventy-plugin-repoviewer": {
⁣
        defaultBranch: "main",
        branchesToPull: ["main"],
        location: "../",
      }
    }
  }

  eleventyConfig.on("eleventy.beforeConfig", beforeHook(eleventyConfig, reposConfig))
  eleventyConfig.addPlugin(repoViewer, reposConfig)
};
wiki/index.md:51
Before
50
51
52
53

54
  - Seems to print out all on one line right now.
- [ ] get rid of lodash
  - lodash is one of the larger (largest?) dependencies right now. With mithril auto-escaping strings, it might not be necessary anymore. Look into which things actually need to be escaped (e.g. any user-input from commit messages) and see if we can just rely on mithril to escape those

⁣
### Completed
After
50
51
52
53
54
55
  - Seems to print out all on one line right now.
- [ ] get rid of lodash
  - lodash is one of the larger (largest?) dependencies right now. With mithril auto-escaping strings, it might not be necessary anymore. Look into which things actually need to be escaped (e.g. any user-input from commit messages) and see if we can just rely on mithril to escape those
- [ ] make the useDefaultTemplate option actually be used

### Completed