From 4bc8f086af456a4ab6b4e7b7605687c4e3a52d22 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Thu, 6 Nov 2014 11:42:02 +0100 Subject: [PATCH] [FIX] doc: guides section was removed, move CDN to reference --- doc/reference.rst | 1 + .../website_keycdn.rst => reference/cdn.rst} | 32 +++++++++++------- .../cdn/keycdn_create_a_pull_zone.png | Bin .../cdn/keycdn_enable_CORS.png | Bin .../cdn/keycdn_progressbar.png | Bin .../cdn/odoo_cdn_base_url.png | Bin .../cdn/odoo_check_your_html.png | Bin .../cdn/odoo_font_file_not_loaded.png | Bin .../cdn/odoo_security_message.png | Bin 9 files changed, 20 insertions(+), 13 deletions(-) rename doc/{guides/website_keycdn.rst => reference/cdn.rst} (68%) rename doc/{guides => reference}/cdn/keycdn_create_a_pull_zone.png (100%) rename doc/{guides => reference}/cdn/keycdn_enable_CORS.png (100%) rename doc/{guides => reference}/cdn/keycdn_progressbar.png (100%) rename doc/{guides => reference}/cdn/odoo_cdn_base_url.png (100%) rename doc/{guides => reference}/cdn/odoo_check_your_html.png (100%) rename doc/{guides => reference}/cdn/odoo_font_file_not_loaded.png (100%) rename doc/{guides => reference}/cdn/odoo_security_message.png (100%) diff --git a/doc/reference.rst b/doc/reference.rst index 3e1597db1ef..8a09e86cbf7 100644 --- a/doc/reference.rst +++ b/doc/reference.rst @@ -20,3 +20,4 @@ Reference reference/reports reference/workflows + reference/cdn diff --git a/doc/guides/website_keycdn.rst b/doc/reference/cdn.rst similarity index 68% rename from doc/guides/website_keycdn.rst rename to doc/reference/cdn.rst index 383c16aee5d..76678a140d3 100644 --- a/doc/guides/website_keycdn.rst +++ b/doc/reference/cdn.rst @@ -1,11 +1,15 @@ -.. _keycdn-setup: +======================================== +Deploying with Content Delivery Networks +======================================== -How to use KeyCDN with Odoo -=========================== +.. _reference/cdn/keycdn: + +Deploying with KeyCDN_ +====================== .. sectionauthor:: Fabien Meghazi -This document will guide you through the setup of a KeyCDN account with your +This document will guide you through the setup of a KeyCDN_ account with your Odoo powered website. Step 1: Create a pull zone in the KeyCDN dashboard @@ -14,8 +18,8 @@ Step 1: Create a pull zone in the KeyCDN dashboard .. image:: cdn/keycdn_create_a_pull_zone.png :class: img-responsive -When creating the zone, enable the CORS option in the `advanced features` -submenu. (more on that later) +When creating the zone, enable the CORS option in the +:guilabel:`advanced features` submenu. (more on that later) .. image:: cdn/keycdn_enable_CORS.png :class: img-responsive @@ -25,21 +29,21 @@ Once done, you'll have to wait a bit while KeyCDN is crawling your website. .. image:: cdn/keycdn_progressbar.png :class: img-responsive -Note that an URL has been generated for your Zone. -In this test case, the URL is `http://pulltest-b49.kxcdn.com`. - +.. note:: a new URL has been generated for your Zone, in this case it is + ``http://pulltest-b49.kxcdn.com`` Step 2: Configure the odoo instance with your zone -------------------------------------------------- -In the Odoo back end, go to the `Website Settings` menu, then activate the CDN -support and copy/paste your zone URL in the `CDN Base URL` field. +In the Odoo back end, go to the :guilabel:`Website Settings`: menu, then +activate the CDN support and copy/paste your zone URL in the +:guilabel:`CDN Base URL` field. .. image:: cdn/odoo_cdn_base_url.png :class: img-responsive -Now your website is using the CDN for the resources matching the `CDN filters` -regular expressions. +Now your website is using the CDN for the resources matching the +:guilabel:`CDN filters` regular expressions. You can have a look to the HTML of your website in order to check if the CDN integration is properly working. @@ -71,3 +75,5 @@ A security error message will also appear in the browser's console: :class: img-responsive Enabling the CORS option in the CDN fixes this issue. + +.. _KeyCDN: https://www.keycdn.com diff --git a/doc/guides/cdn/keycdn_create_a_pull_zone.png b/doc/reference/cdn/keycdn_create_a_pull_zone.png similarity index 100% rename from doc/guides/cdn/keycdn_create_a_pull_zone.png rename to doc/reference/cdn/keycdn_create_a_pull_zone.png diff --git a/doc/guides/cdn/keycdn_enable_CORS.png b/doc/reference/cdn/keycdn_enable_CORS.png similarity index 100% rename from doc/guides/cdn/keycdn_enable_CORS.png rename to doc/reference/cdn/keycdn_enable_CORS.png diff --git a/doc/guides/cdn/keycdn_progressbar.png b/doc/reference/cdn/keycdn_progressbar.png similarity index 100% rename from doc/guides/cdn/keycdn_progressbar.png rename to doc/reference/cdn/keycdn_progressbar.png diff --git a/doc/guides/cdn/odoo_cdn_base_url.png b/doc/reference/cdn/odoo_cdn_base_url.png similarity index 100% rename from doc/guides/cdn/odoo_cdn_base_url.png rename to doc/reference/cdn/odoo_cdn_base_url.png diff --git a/doc/guides/cdn/odoo_check_your_html.png b/doc/reference/cdn/odoo_check_your_html.png similarity index 100% rename from doc/guides/cdn/odoo_check_your_html.png rename to doc/reference/cdn/odoo_check_your_html.png diff --git a/doc/guides/cdn/odoo_font_file_not_loaded.png b/doc/reference/cdn/odoo_font_file_not_loaded.png similarity index 100% rename from doc/guides/cdn/odoo_font_file_not_loaded.png rename to doc/reference/cdn/odoo_font_file_not_loaded.png diff --git a/doc/guides/cdn/odoo_security_message.png b/doc/reference/cdn/odoo_security_message.png similarity index 100% rename from doc/guides/cdn/odoo_security_message.png rename to doc/reference/cdn/odoo_security_message.png