Skip to content

Commit

Permalink
Add wiki articles repo as a submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-rifkin committed Jul 27, 2024
1 parent a7f1a63 commit 367edbf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@
# [submodule "dyno-import"]
# path = dyno-import
# url = [email protected]:TCCPP/dyno-import.git
[submodule "wiki"]
path = wiki
url = [email protected]:TCCPP/wiki-articles.git
3 changes: 1 addition & 2 deletions src/components/help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ export default class Help extends BotComponent {
(unwrap(this.wheatley.components.get("Wiki")) as Wiki).article_aliases
.map((_, alias) => `\`${alias}\``)
.join(", "),
"Article contributions are welcome " +
"[here](https://github.com/TCCPP/wheatley/tree/main/wiki-articles)!",
"Article contributions are welcome [here](https://github.com/TCCPP/wiki-articles)!",
),
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/components/wiki.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { Wheatley } from "../wheatley.js";
import { TextBasedCommandBuilder } from "../command-abstractions/text-based-command-builder.js";
import { TextBasedCommand } from "../command-abstractions/text-based-command.js";

export const wiki_dir = "wiki-articles";
export const wiki_dir = "wiki";

type WikiArticle = {
name: string | null; // basename for the article
Expand Down
1 change: 1 addition & 0 deletions wiki
Submodule wiki added at ddfd8c

0 comments on commit 367edbf

Please sign in to comment.