X-Git-Url: http://nitlanguage.org
diff --git a/src/nitdoc.nit b/src/nitdoc.nit
index 742cdfb..bdaa346 100644
--- a/src/nitdoc.nit
+++ b/src/nitdoc.nit
@@ -27,7 +27,8 @@ class DocContext
super AbstractCompiler
# Destination directory
readable writable var _dir: String = "doc"
-
+ # GitHub Repo name
+ var github_repo: nullable String = null
# Content of a generated file
var _stage_context: StageContext = new StageContext(null)
@@ -91,6 +92,7 @@ class DocContext
readable var _opt_custom_title: OptionString = new OptionString("Title displayed in the top of the Overview page and as suffix of all page names", "--custom-title")
readable var _opt_custom_overview_text: OptionString = new OptionString("Text displayed as introduction of Overview page before the modules list", "--custom-overview-text")
readable var _opt_custom_footer_text: OptionString = new OptionString("Text displayed as footer of all pages", "--custom-footer-text")
+ readable var _opt_github_repo_name: OptionString = new OptionString("GitHub repo name, example: --github MyRepoName", "--github")
var sharedir: nullable String
fun public_only: Bool
@@ -168,8 +170,7 @@ class DocContext
var custom_items = ""
if self._opt_custom_menu_items.value != null then custom_items = self._opt_custom_menu_items.value.as(not null)
- var action_bar = "