diff --git a/.gitignore b/.gitignore index 217f4f1f1..381bf4e50 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ Gemfile.lock dest/ site/_data/menus/ref_menu_latest.yml +site/_data/menus/ref_menu_petrosian.yml site/_data/menus/ref_menu_oparin.yml site/_data/menus/ref_menu_najdorf.yml site/_data/menus/ref_menu_morphy.yml @@ -15,6 +16,7 @@ site/_data/menus/ref_menu_kasparov.yml site/_data/menus/ref_menu_jansa.yml site/docs/guides site/docs/reference/latest/ +site/docs/reference/petrosian/ site/docs/reference/oparin/ site/docs/reference/najdorf/ site/docs/reference/morphy/ diff --git a/lib/miq.rb b/lib/miq.rb index 3866737ac..15cb07779 100644 --- a/lib/miq.rb +++ b/lib/miq.rb @@ -86,6 +86,6 @@ def self.blog_month_template end def self.doc_branches - ENV.fetch('MIQ_REF_BRANCHES', 'master,oparin,najdorf,morphy,lasker,kasparov,jansa').split(',') + ENV.fetch('MIQ_REF_BRANCHES', 'master,petrosian,oparin,najdorf,morphy,lasker,kasparov,jansa').split(',') end end diff --git a/site/_config.yml b/site/_config.yml index 8a1934dbf..f440fa274 100644 --- a/site/_config.yml +++ b/site/_config.yml @@ -269,3 +269,18 @@ defaults: values: layout: doc_page doc_group: api + + - scope: + path: "docs/reference/petrosian" + type: "pages" + values: + layout: doc_page + permalink: /:path/:basename + doc_group: user + sitemap: false + + - scope: + path: "docs/reference/petrosian/api" + values: + layout: doc_page + doc_group: api diff --git a/site/_data/releases.yaml b/site/_data/releases.yaml index 8bff36771..7297877ff 100644 --- a/site/_data/releases.yaml +++ b/site/_data/releases.yaml @@ -1,9 +1,9 @@ stable: type: stable - name: Oparin-1 - tag: oparin-1.1 - filename: oparin-1.1 - branch: oparin + name: Petrosian-1 + tag: petrosian-1 + filename: petrosian-1 + branch: petrosian # prerelease: # type: prerelease diff --git a/site/docs/reference/index_petrosian.md b/site/docs/reference/index_petrosian.md new file mode 100644 index 000000000..dc91a62c5 --- /dev/null +++ b/site/docs/reference/index_petrosian.md @@ -0,0 +1,48 @@ +--- +layout: doc_page +title: User Reference +permalink: /docs/reference/petrosian/ +doc_group: user +doc_branch: petrosian +--- + +## Installation + +{% for item in site.data["menus"]["ref_menu_petrosian"]["installation"]["children"] %} +### [{{item.title}}]({{item.path}}) +{{item.desc}} + +{% endfor %} + +## Administration + +{% for item in site.data["menus"]["ref_menu_petrosian"]["administration"]["children"] %} +### [{{item.title}}]({{item.path}}) +{{item.desc}} + +{% endfor %} + +## Authentication + +{% for item in site.data["menus"]["ref_menu_petrosian"]["authentication"]["children"] %} +### [{{item.title}}]({{item.path}}) +{{item.desc}} + +{% endfor %} + +## Integration + +{% for item in site.data["menus"]["ref_menu_petrosian"]["integration"]["children"] %} +### [{{item.title}}]({{item.path}}) +{{item.desc}} + +{% endfor %} + + +## Reference + +{% for item in site.data["menus"]["ref_menu_petrosian"]["reference"]["children"] %} +### [{{item.title}}]({{item.path}}) +{{item.desc}} + +{% endfor %}