diff --git a/build.gradle b/build.gradle index c367c95a..e915d503 100644 --- a/build.gradle +++ b/build.gradle @@ -25,8 +25,8 @@ asciidoctor { idprefix: '', // for compatibility with GitHub preview idseparator: '-', 'site-root': "${sourceDir}", // must be the same as sourceDir, do not modify - 'site-name': 'AddressBook-Level4', - 'site-githuburl': 'https://github.com/se-edu/addressbook-level4', + 'site-name': 'AddressBook-Level1', + 'site-githuburl': 'https://github.com/se-edu/addressbook-level1', 'site-seedu': true, // delete this line if your project is not a fork (not a SE-EDU project) ] diff --git a/docs/DeveloperGuide.adoc b/docs/DeveloperGuide.adoc index 621ad074..3b0eba47 100644 --- a/docs/DeveloperGuide.adoc +++ b/docs/DeveloperGuide.adoc @@ -1,4 +1,5 @@ = AddressBook Level 1 - Developer Guide +:site-section: DeveloperGuide :stylesDir: stylesheets [[SettingUp]] diff --git a/docs/LearningOutcomes.adoc b/docs/LearningOutcomes.adoc index bdc1f6b9..e0c66dd6 100644 --- a/docs/LearningOutcomes.adoc +++ b/docs/LearningOutcomes.adoc @@ -1,4 +1,5 @@ = Learning Outcomes +:site-section: LearningOutcomes :toc: macro :toc-title: :toclevels: 1 diff --git a/docs/UserGuide.adoc b/docs/UserGuide.adoc index 9a761550..52de6f0d 100644 --- a/docs/UserGuide.adoc +++ b/docs/UserGuide.adoc @@ -1,4 +1,5 @@ = AddressBook Level 1 - User Guide +:site-section: UserGuide :stylesDir: stylesheets ifdef::env-github[] :tip-caption: :bulb: diff --git a/docs/templates/_header.html.slim b/docs/templates/_header.html.slim index 1995d26a..fdac085f 100644 --- a/docs/templates/_header.html.slim +++ b/docs/templates/_header.html.slim @@ -7,13 +7,13 @@ img src=(site_url 'images/SeEduLogo.png') alt='SE-EDU' ul.navbar-nav li.nav-item - a.nav-link href='https://se-edu.github.io/addressbook-level1' AB-1 + a.nav-link.active href=(site_url 'index.html') AB-1 li.nav-item a.nav-link href='https://se-edu.github.io/addressbook-level2' AB-2 li.nav-item a.nav-link href='https://se-edu.github.io/addressbook-level3' AB-3 li.nav-item - a.nav-link.active href=(site_url 'index.html') AB-4 + a.nav-link href='https://se-edu.github.io/addressbook-level4' AB-4 li.nav-item a.nav-link href='https://se-edu.github.io/collate' Collate li.nav-item @@ -35,10 +35,6 @@ - if attr? 'site-seedu' li.nav-item =nav_link('LearningOutcomes', 'LearningOutcomes.html', 'LOs') - li.nav-item - =nav_link('AboutUs', 'AboutUs.html', 'About Us') - li.nav-item - =nav_link('ContactUs', 'ContactUs.html', 'Contact Us') - if attr? 'site-githuburl' li.navitem a.nav-link href=(attr 'site-githuburl')