From a473a155739065244102cb5b7d84e4d6422b52c3 Mon Sep 17 00:00:00 2001 From: Clément Bénier Date: Thu, 18 Oct 2018 13:56:49 +0200 Subject: index.html: add "MASTER NEXT" in first page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add "MASTER NEXT" in the first page Change-Id: I1e422b6eae133551e29bcefcb5d38b1b68f053da Signed-off-by: Clément Bénier --- site/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site/index.html b/site/index.html index 36aad16..cb4c0a4 100644 --- a/site/index.html +++ b/site/index.html @@ -15,6 +15,7 @@ change_frequency: monthly
+

MASTER NEXT

Automotive Apps with HTML5, Qt OpenGL

Multiple platforms on a common code base

Free and open source

@@ -56,7 +57,7 @@ change_frequency: monthly
- +
-- cgit 1.2.3-korg From 46435478152c0cb45496dc7b73c1f5ccb2216d11 Mon Sep 17 00:00:00 2001 From: Clément Bénier Date: Thu, 25 Oct 2018 15:51:46 +0200 Subject: gitignore: add __* MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Clément Bénier --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 8f6dcc3..20ea33a 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ site/_data/tocs .fetch.ts .LocalFetch.ts doctools +__* -- cgit 1.2.3-korg From ab747d6bd667baf087ff39daabd56703b1c938b6 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 25 Oct 2018 15:13:46 -0700 Subject: YAML files for application development flow section Created TOC and fetch information for a new "Application Development Workflow" section. The section sits in the existing "Getting Started" area for now. Signed-off-by: Scott Rifenbark --- content/tocs/getting_started/fetched_files.yml | 20 ++++++++++++++++++++ content/tocs/getting_started/toc_dev_en.yml | 25 ++++++++++++++++++++----- 2 files changed, 40 insertions(+), 5 deletions(-) diff --git a/content/tocs/getting_started/fetched_files.yml b/content/tocs/getting_started/fetched_files.yml index 4b7b551..62e7fbe 100644 --- a/content/tocs/getting_started/fetched_files.yml +++ b/content/tocs/getting_started/fetched_files.yml @@ -48,6 +48,26 @@ repositories: git_commit: master-next src_prefix : docs/getting-started documents : + - source: app-workflow-intro.md + label: Overview + - source: app-workflow-image.md + label: Download or Build Your Image + - source: app-workflow-sdk.md + label: Download or Build Your SDK Installer + - source: app-workflow-bootables.md + label: Create Bootable Media + - source: app-workflow-boot.md + label: Boot the Image on the Board + - source: app-workflow-prep-app.md + label: Get Ready to Create Your Application + - source: app-workflow-build-app.md + label: Create and Build the Application + - source: app-workflow-deploy-app.md + label: Deploy the Application to the Board + - source: app-workflow-debug-app.md + label: Debug the Application + - source: images/app-developer-workflow.png + destination: images/app-developer-workflow.png - source: source-code.md label: Download AGL Source Code - source: customize_bitbake_conf.md diff --git a/content/tocs/getting_started/toc_dev_en.yml b/content/tocs/getting_started/toc_dev_en.yml index a534c61..38f8154 100644 --- a/content/tocs/getting_started/toc_dev_en.yml +++ b/content/tocs/getting_started/toc_dev_en.yml @@ -1,9 +1,9 @@ ####################################################################### -# WARNING: +# WARNING: # - TOC should reference .HTML and .md (Index OK but Error 404) -# - do not forget to run 'docbuild --tocs' after any changes +# - do not forget to run 'docbuild --tocs' after any changes +# # -# ############################ SYNTAX ################################### # GLOBAL OPTIONS: # name: TOC (page) title @@ -13,7 +13,7 @@ # TOC Entry: # name: TOC entry (level 1) # children: -# - +# - # name: optional name for TOC entry (default: use URL FrontMatter info) # url: Date: Tue, 13 Nov 2018 15:46:49 -0800 Subject: Image Workflow Files and TOC (YAML Updates) These are the updates for the new Image Workflow section to create the TOC nav topics and fetch the correct files. Signed-off-by: Scott Rifenbark --- content/tocs/getting_started/fetched_files.yml | 21 ++++++++++++++++----- content/tocs/getting_started/toc_dev_en.yml | 10 +++++++--- 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a/content/tocs/getting_started/fetched_files.yml b/content/tocs/getting_started/fetched_files.yml index 62e7fbe..8123b45 100644 --- a/content/tocs/getting_started/fetched_files.yml +++ b/content/tocs/getting_started/fetched_files.yml @@ -68,18 +68,28 @@ repositories: label: Debug the Application - source: images/app-developer-workflow.png destination: images/app-developer-workflow.png - - source: source-code.md - label: Download AGL Source Code - - source: customize_bitbake_conf.md - label: Customize the AGL build + - source: image-workflow-intro.md + label: Overview + - source: image-workflow-prep-host.md + label: Preparing Your Build Host + - source: image-workflow-download-sw.md + label: Downloading AGL Software + - source: image-workflow-initialize-build-environment.md + label: Initializing Your Build Environment + - source: image-workflow-cust-build.md + label: Customizing Your Build + - source: image-workflow-build.md + label: Building the AGL Image - source: machines/intel.md - label: Build for Intel + label: Building for Most Intel 64-Bit Hardware Platforms - source: machines/qemu.md label: Build for Qemu - source: machines/R-Car-Starter-Kit-gen3.md label: Build for R Car Starter Kit gen3 board - source: machines/raspberrypi.md label: Build for Raspberry PI 2/3 + - source: images/image-developer-workflow.png + destination: images/image-developer-workflow.png - source: troubleshooting.md label: Generic issues - source: footers/intel-footer.md @@ -109,4 +119,5 @@ repositories: destination: pictures/phone.png - source: pictures/settings.png destination: pictures/settings.png + - source: pictures/image-developer-workflow.png diff --git a/content/tocs/getting_started/toc_dev_en.yml b/content/tocs/getting_started/toc_dev_en.yml index 38f8154..89af391 100644 --- a/content/tocs/getting_started/toc_dev_en.yml +++ b/content/tocs/getting_started/toc_dev_en.yml @@ -39,10 +39,14 @@ name: Getting started template: generated_index.html children: - - name: Getting Started + name: Image Development Workflow children: - - url: reference/source-code.html - - url: reference/customize_bitbake_conf.html + - url: reference/image-workflow-intro.html + - url: reference/image-workflow-prep-host.html + - url: reference/image-workflow-download-sw.html + - url: reference/image-workflow-initialize-build-environment.html + - url: reference/image-workflow-cust-build.html + - url: reference/image-workflow-build.html - url: reference/machines/intel.html - url: reference/machines/qemu.html - url: reference/machines/R-Car-Starter-Kit-gen3.html -- cgit 1.2.3-korg From 16f3a77f6c099396107f672fad0b9aca444b5a21 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 16 Nov 2018 14:26:39 -0800 Subject: Updated Title for Building for Emulation. The content is more about building for emulation and not just for QEMU. I updated the TOC title to reflect that. Signed-off-by: Scott Rifenbark --- content/tocs/getting_started/fetched_files.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/tocs/getting_started/fetched_files.yml b/content/tocs/getting_started/fetched_files.yml index 8123b45..3cc3847 100644 --- a/content/tocs/getting_started/fetched_files.yml +++ b/content/tocs/getting_started/fetched_files.yml @@ -83,7 +83,7 @@ repositories: - source: machines/intel.md label: Building for Most Intel 64-Bit Hardware Platforms - source: machines/qemu.md - label: Build for Qemu + label: Building for Emulation - source: machines/R-Car-Starter-Kit-gen3.md label: Build for R Car Starter Kit gen3 board - source: machines/raspberrypi.md -- cgit 1.2.3-korg From 9661bbba26f9d9e42b9e60ae2d028e10dbe4ee7a Mon Sep 17 00:00:00 2001 From: Clément Bénier Date: Wed, 14 Nov 2018 10:45:13 +0100 Subject: new generation workflow: deported yaml files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The first new generation workflow, it allows to deported yaml files into remote repositories. Please see documentation at https://github.com/automotive-grade-linux/docs-tools/blob/master-next/docs/NextGenWorkflow.pdf New yaml files are named "section_.yml" and point to the deported yaml files named "book<...>.yaml" from remote repositories. Signed-off-by: Clément Bénier --- conf/_config.yml | 2 +- conf/_dev.yml | 2 +- content/tocs/apis_services/section_master.yml | 11 ++++++++ content/tocs/getting_started/section_master.yml | 15 +++++++++++ site/.htaccess | 8 +++--- site/_layouts/doc.html | 36 +++++++++++-------------- 6 files changed, 48 insertions(+), 26 deletions(-) create mode 100644 content/tocs/apis_services/section_master.yml create mode 100644 content/tocs/getting_started/section_master.yml diff --git a/conf/_config.yml b/conf/_config.yml index 9fec3d5..b93c6fb 100644 --- a/conf/_config.yml +++ b/conf/_config.yml @@ -22,7 +22,7 @@ excerpt_separator: # the version to which /latest/ points # NOTE: # this value gets overwritten in _version.yml, which is a generated file -latest_docs_version: dev # overloaded by AppDefaults.js +latest_docs_version: master # overloaded by AppDefaults.js # the docs version that is shown by default when clicking on docs links on the site default_linked_docs_version: latest diff --git a/conf/_dev.yml b/conf/_dev.yml index 8bf011a..d281aa7 100644 --- a/conf/_dev.yml +++ b/conf/_dev.yml @@ -1,5 +1,5 @@ baseurl: "" -default_linked_docs_version: dev +default_linked_docs_version: master destination: build-dev exclude: - static/css-src diff --git a/content/tocs/apis_services/section_master.yml b/content/tocs/apis_services/section_master.yml new file mode 100644 index 0000000..455117d --- /dev/null +++ b/content/tocs/apis_services/section_master.yml @@ -0,0 +1,11 @@ +url_fetch : "GERRIT_FETCH" +git_commit : "AGL_GERRIT_BRANCH" + +name: Developer Guides +template: generated_index.html +books: +- + id: app-framework-binder-apis-services + url_fetch : "https://git.automotivelinux.org/src/app-framework-binder/plain/docs/app-framework-binder-book.yml?h=sandbox/benierc/newdocs" + path: docs/app-framework-binder-book.yml + diff --git a/content/tocs/getting_started/section_master.yml b/content/tocs/getting_started/section_master.yml new file mode 100644 index 0000000..e65b474 --- /dev/null +++ b/content/tocs/getting_started/section_master.yml @@ -0,0 +1,15 @@ +url_fetch : "AGL_GITHUB_FETCH" +url_edit : "AGL_GITHUB_EDIT" +git_commit : "AGL_GITHUB_BRANCH" + +name: Getting started +template: generated_index.html +books: +- + id: docs-source-getting-started + url_fetch: "https://raw.githubusercontent.com/benierc/docs-sources/master/%source%" + path: docs/getting-started-book.yml +- + id: homescreen + url_fetch : "https://git.automotivelinux.org/apps/homescreen/plain/homescreen/docs/homescreen-book.yml?h=sandbox/benierc/newdocs" + path: homescreen/docs/homescreen-book.yml diff --git a/site/.htaccess b/site/.htaccess index 61548b8..1decfc7 100644 --- a/site/.htaccess +++ b/site/.htaccess @@ -30,7 +30,7 @@ RewriteEngine on # Some of the below redirects are 302s, and some are 301s. 302s are used # for redirects whose targets change sometimes. For example: # - /docs/ -> /docs/fr/, /docs/en/, etc. -# - /docs/en/ -> /docs/en/dev/, /docs/en/latest/, etc. +# - /docs/en/ -> /docs/en/master/, /docs/en/latest/, etc. # - /docs/en/latest -> /docs/en/4.0.0/, /docs/en/5.0.0/, etc. # # 301s are for PERMANENT redirects. These are used only for mapping old @@ -38,7 +38,7 @@ RewriteEngine on # # NOTE: # (\w\w(?:-\w\w)?) - regex for languages -# (?:\d+\.(?:\d+\.\d+|x))|dev|latest - regex for versions +# (?:\d+\.(?:\d+\.\d+|x))|master|latest - regex for versions # # NOTE: # Meanings of some of the flags at the ends of rules: @@ -75,7 +75,7 @@ RewriteRule ^.*docs/(\w\w(?:-\w\w)?)/latest$ {{site.baseurl}}/docs/$1/latest/ [R # # docs/XX/* -> docs/YY/* # -{% for redirect in site.data.redirects.language-renames %}RewriteRule ^.*docs/{{redirect[0]}}/((?:\d+\.(?:\d+\.\d+|x))|dev|latest)/(.*)$ {{site.baseurl}}/docs/{{redirect[1]}}/$1/$2 [R=302,L] +{% for redirect in site.data.redirects.language-renames %}RewriteRule ^.*docs/{{redirect[0]}}/((?:\d+\.(?:\d+\.\d+|x))|master|latest)/(.*)$ {{site.baseurl}}/docs/{{redirect[1]}}/$1/$2 [R=302,L] {% endfor %} # 301 (PERMANENT): @@ -87,7 +87,7 @@ RewriteRule ^.*docs/(\w\w(?:-\w\w)?)/latest$ {{site.baseurl}}/docs/$1/latest/ [R # by site.baseurl. It is thrown away because there is no RewriteCond to # control whether the rewrite happens to a URI or a local file path # (when Apache is locating the local file to serve). -{% for redirect in site.data.redirects.docs-global %}RewriteRule ^.*docs/(\w\w(?:-\w\w)?)/((?:\d+\.(?:\d+\.\d+|x))|dev|latest)/{{redirect[0]}}$ {{site.baseurl}}/docs/$1/$2/{{redirect[1]}} [NE,R=301,L] +{% for redirect in site.data.redirects.docs-global %}RewriteRule ^.*docs/(\w\w(?:-\w\w)?)/((?:\d+\.(?:\d+\.\d+|x))|master|latest)/{{redirect[0]}}$ {{site.baseurl}}/docs/$1/$2/{{redirect[1]}} [NE,R=301,L] {% endfor %} # 301 (PERMANENT): diff --git a/site/_layouts/doc.html b/site/_layouts/doc.html index 0c39a1e..21f54ff 100644 --- a/site/_layouts/doc.html +++ b/site/_layouts/doc.html @@ -63,10 +63,10 @@ set some constants Edit-links obey the following rules: - if page in /dev/ or /latest/: - show edit link for /dev/ page in source language + if page in /master/ or /latest/: + show edit link for /master/ page in source language if page not in source language: - show translation link for /dev/ page + show translation link for /master/ page else: show edit link for the page in its version and language @@ -76,13 +76,13 @@ set some constants {% capture base_edit_link %}{{ site.urls.edit_git }}{{ page.path }}{% endcapture %} {% capture base_version %}/{{ page.version }}/{% endcapture %} {% capture base_language %}/{{ page.language }}/{% endcapture %} - {% capture dev_version %}/dev/{% endcapture %} + {% capture master_version %}/master/{% endcapture %} {% capture src_language %}/{{ site.src_language }}/{% endcapture %} {% comment %} Edit-links for current pages in non-source languages NOTE: - Pages that are under /dev/ or /latest/ (i.e. site.latest_docs_version) have page.current set to "true". + Pages that are under /master/ or /latest/ (i.e. site.latest_docs_version) have page.current set to "true". {% endcomment %} {% if page.language != site.src_language and page.current %} @@ -91,10 +91,10 @@ set some constants {% endcomment %} {% capture page_path_prefix %}docs/{{ page.language }}/{{ page.version }}{% endcapture %} {% assign page_path_end = page.path | split:"/" | last %} - {% assign crowdin_path = page.path | replace:page_path_prefix,"docs/en/dev" | replace:page_path_end,"" %} + {% assign crowdin_path = page.path | replace:page_path_prefix,"docs/en/master" | replace:page_path_end,"" %} {% capture crowdin_link %}https://crowdin.com/project/cordova/{{ page.language }}#/cordova-docs/{{ crowdin_path }}{% endcapture %} - {% assign edit_link = base_edit_link | replace:base_language,src_language | replace:base_version,dev_version %} + {% assign edit_link = base_edit_link | replace:base_language,src_language | replace:base_version,master_version %} {{ page.edit_source_text }} {{ page.edit_translation_text }} @@ -105,10 +105,10 @@ set some constants {% else %} {% comment %} - Edit-link for latest version points to dev instead + Edit-link for latest version points to master instead {% endcomment %} {% if page.version == site.latest_docs_version %} - {% assign edit_link = base_edit_link | replace:base_version,dev_version %} + {% assign edit_link = base_edit_link | replace:base_version,master_version %} {% else %} {% assign edit_link = base_edit_link %} {% endif %} @@ -119,14 +119,13 @@ set some constants --> - - --> - {% for other_version in site.data.docs-versions[page.language].versions reversed %}
  • {% comment %} @@ -218,9 +215,8 @@ set some constants {% endfor %} - --> - + {% comment %} Get URL for this page in the latest version @@ -236,13 +232,13 @@ set some constants {% endunless %} - +
  • - Mailing List + Mailing List
  • @@ -25,7 +25,7 @@
  • Source Code
  • Issue Tracker
  • Wiki
  • -
  • Contact
  • +
  • Contact
  • -- cgit 1.2.3-korg From 3edb214fc37aa16f9f65c4c3dfff85774f62efe1 Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Mon, 10 Dec 2018 13:34:01 +0000 Subject: Disable TechPost section in rendering The TechPost section is not maintained: this commit disables the TechPost section in the output. Bug-AGL: SPEC-2029 Signed-off-by: Stephane Desneux --- site/_includes/header.html | 2 + site/_posts/2016-01-01-sample-test-blog.md | 15 -- site/_posts/2016-06-27-security-white-paper.md | 18 --- site/_posts/2016-07-02-markdown-tuto.md | 196 ------------------------ site/_posts/_2016-01-01-sample-test-blog.md | 15 ++ site/_posts/_2016-06-27-security-white-paper.md | 18 +++ site/_posts/_2016-07-02-markdown-tuto.md | 196 ++++++++++++++++++++++++ site/misc/feed.xml | 2 + site/sitemap.xml | 2 + site/techpost/_disabled_index.html | 62 ++++++++ site/techpost/index.html | 62 -------- 11 files changed, 297 insertions(+), 291 deletions(-) delete mode 100644 site/_posts/2016-01-01-sample-test-blog.md delete mode 100644 site/_posts/2016-06-27-security-white-paper.md delete mode 100644 site/_posts/2016-07-02-markdown-tuto.md create mode 100644 site/_posts/_2016-01-01-sample-test-blog.md create mode 100644 site/_posts/_2016-06-27-security-white-paper.md create mode 100644 site/_posts/_2016-07-02-markdown-tuto.md create mode 100644 site/techpost/_disabled_index.html delete mode 100644 site/techpost/index.html diff --git a/site/_includes/header.html b/site/_includes/header.html index 6d69d6e..6828472 100644 --- a/site/_includes/header.html +++ b/site/_includes/header.html @@ -37,9 +37,11 @@