From 1341938262de65b03967bb25bab22030238b187c Mon Sep 17 00:00:00 2001
From: Jeremy Vyska <35526546+JeremyVyska@users.noreply.github.com>
Date: Fri, 22 Oct 2021 00:22:38 +0200
Subject: [PATCH] Basic config and skeleton of structure
---
config.toml | 18 +++++-
content/BCBestPractices/_index.md | 12 ++++
content/BCPatterns/_index.md | 12 ++++
content/NAVPatterns/1-patterns/index.md | 73 +++++++++++++++++++++++++
content/NAVPatterns/_index.md | 12 ++++
content/_index.md | 22 ++++++++
6 files changed, 148 insertions(+), 1 deletion(-)
create mode 100644 content/BCBestPractices/_index.md
create mode 100644 content/BCPatterns/_index.md
create mode 100644 content/NAVPatterns/1-patterns/index.md
create mode 100644 content/NAVPatterns/_index.md
create mode 100644 content/_index.md
diff --git a/config.toml b/config.toml
index d44310d3..531f2686 100644
--- a/config.toml
+++ b/config.toml
@@ -11,4 +11,20 @@ home = [ "HTML", "RSS", "JSON"]
[params]
# Change default color scheme with a variant one. Can be empty, "red", "blue", "green".
- themeVariant = "blue"
\ No newline at end of file
+ themeVariant = "blue"
+ # If set to false, a Home button will appear below the search bar on the menu.
+ # It is redirecting to the landing page of the current language if specified. (Default is "/")
+ disableLandingPageButton = true
+
+# Additional menu (left sidebar) area links
+[[menu.shortcuts]]
+name = " GitHub repo"
+identifier = "gh"
+url = "https://github.com/BC-Design-Patterns/AL-Dev-Help"
+weight = 10
+
+[[menu.shortcuts]]
+name = " BC Discord"
+identifier = "ds"
+url = "https://discord.gg/4wbfNv3"
+weight = 10
diff --git a/content/BCBestPractices/_index.md b/content/BCBestPractices/_index.md
new file mode 100644
index 00000000..0a5d21b3
--- /dev/null
+++ b/content/BCBestPractices/_index.md
@@ -0,0 +1,12 @@
++++
+chapter = true
+pre = " "
+title = "BCBestPractices"
+weight = 15
++++
+
+### Chapter X
+
+# Some Chapter title
+
+Lorem Ipsum.
\ No newline at end of file
diff --git a/content/BCPatterns/_index.md b/content/BCPatterns/_index.md
new file mode 100644
index 00000000..ea16b603
--- /dev/null
+++ b/content/BCPatterns/_index.md
@@ -0,0 +1,12 @@
++++
+chapter = true
+pre = " "
+title = "BCPatterns"
+weight = 10
++++
+
+### Chapter X
+
+# Some Chapter title
+
+Lorem Ipsum.
\ No newline at end of file
diff --git a/content/NAVPatterns/1-patterns/index.md b/content/NAVPatterns/1-patterns/index.md
new file mode 100644
index 00000000..2cbfe3e4
--- /dev/null
+++ b/content/NAVPatterns/1-patterns/index.md
@@ -0,0 +1,73 @@
++++
+title = "1-patterns.md"
+weight = 110
++++
+## Browse design patterns by tags
+
+_(for "all patterns", choose a title from the left menu)._
+
+_
+_
+
+"It's all about the user"
+
+* [User eXperience][anchor0]
+* [User productivity][anchor1]
+* [UI][anchor2]
+* [Data entry][anchor3]
+
+Setting NAV up
+
+* [Setup][anchor4]
+
+General software development
+
+* [Error handling][anchor5]
+* [.NET][anchor6]
+* [Metadata][anchor7]
+* [Architecture][anchor8]
+* [Caching][anchor9]
+A partners' world
+
+* [For new NAV developers][anchor10]
+* [Developer productivity][anchor11]
+* [Localization][anchor12]
+* [Upgrade][anchor13]
+* [Make the Web work for you][anchor14]
+
+NAV specifics
+
+* [Event Subscription][anchor15]
+* [Journal][anchor16]
+* [Query][anchor17]
+* [Document][anchor18]
+* [Reports][anchor19]
+* [Posting][anchor20]
+* [MiniApp][anchor21]
+* [Files ][anchor22]
+
+
+
+[anchor0]: /nav/w/designpatterns/tags/UI/User%2bexperience
+[anchor1]: /nav/w/designpatterns/tags/User%2bProductivity
+[anchor2]: /nav/w/designpatterns/tags/UI
+[anchor3]: /nav/w/designpatterns/tags/data%2bentry
+[anchor4]: /nav/w/designpatterns/tags/setup
+[anchor5]: /nav/w/designpatterns/tags/error%2bhandling
+[anchor6]: /nav/w/designpatterns/tags/-NET
+[anchor7]: /nav/w/designpatterns/tags/Metadata
+[anchor8]: /nav/w/designpatterns/tags/architecture
+[anchor9]: /nav/w/designpatterns/tags/Caching
+[anchor10]: /nav/w/designpatterns/tags/For%2bnew%2bNAV%2bdevelopers
+[anchor11]: /nav/w/designpatterns/tags/developer%2bproductivity
+[anchor12]: /nav/w/designpatterns/tags/Localization
+[anchor13]: /nav/w/designpatterns/tags/upgrade
+[anchor14]: /nav/w/designpatterns/tags/web
+[anchor15]: /nav/w/designpatterns/tags/Event%2bSubscription
+[anchor16]: /nav/w/designpatterns/tags/journal
+[anchor17]: /nav/w/designpatterns/tags/query
+[anchor18]: /nav/w/designpatterns/tags/document
+[anchor19]: /nav/w/designpatterns/tags/reports
+[anchor20]: /nav/w/designpatterns/tags/posting
+[anchor21]: /nav/w/designpatterns/tags/miniapp
+[anchor22]: /nav/w/designpatterns/tags/files
diff --git a/content/NAVPatterns/_index.md b/content/NAVPatterns/_index.md
new file mode 100644
index 00000000..ccd4abce
--- /dev/null
+++ b/content/NAVPatterns/_index.md
@@ -0,0 +1,12 @@
++++
+chapter = true
+pre = " "
+title = "NAVPatterns"
+weight = 20
++++
+
+### Chapter X
+
+# Some Chapter title
+
+Lorem Ipsum.
\ No newline at end of file
diff --git a/content/_index.md b/content/_index.md
new file mode 100644
index 00000000..629fc7a8
--- /dev/null
+++ b/content/_index.md
@@ -0,0 +1,22 @@
++++
+title = "Home"
++++
+
+## Business Central Design Patterns & Best Practices
+
+This site is meant to house some of the community's knowledge about Business Central AL Development best practices, particularly around hosting Design Patterns.
+
+### What are Design Patterns?
+
+To quote the original NAV Team blog post about the NAV Design Patterns:
+
+> A team of people interested in NAV application design has come together to work on naming and surfacing design solutions to common NAV business needs. When those solutions are generic enough to be applied in various places of the NAV application, with slight variations on implementation but mainly respecting the same base concepts, we can describe them as NAV design patterns.
+
+A design pattern is a repeatable template of how to solve a common development challenge.
+
+### History of "NAV Design Patterns"
+
+In 2013, Microsoft NAV Dev Team and prominent members of the community collaborated on a Community and Microsoft collection of commonly needed / used Design Patterns.
+
+For some history on this, Waldo's posts [Code is Poetry]([https://link](https://www.waldo.be/2013/06/14/code-is-poetry/)) and [Design is Philosophy](https://www.waldo.be/2013/08/28/design-is-philosophy-2/) are a great read.
+