[MOV] legal page to the root content level
2
Makefile
@ -52,7 +52,7 @@ latexpdf:
|
|||||||
@echo "Starting build..."
|
@echo "Starting build..."
|
||||||
$(SPHINX_BUILD) -c $(CONFIG_DIR) -b latex $(SPHINXOPTS) $(SOURCE_DIR) $(BUILD_DIR)/latex
|
$(SPHINX_BUILD) -c $(CONFIG_DIR) -b latex $(SPHINXOPTS) $(SOURCE_DIR) $(BUILD_DIR)/latex
|
||||||
$(MAKE) -C $(BUILD_DIR)/latex
|
$(MAKE) -C $(BUILD_DIR)/latex
|
||||||
cp $(BUILD_DIR)/latex/*.pdf $(BUILD_DIR)/html/services
|
cp $(BUILD_DIR)/latex/*.pdf $(BUILD_DIR)/html/
|
||||||
@echo "Build finished."
|
@echo "Build finished."
|
||||||
|
|
||||||
# TODO update sphinx-intl command to take args
|
# TODO update sphinx-intl command to take args
|
||||||
|
20
conf.py
@ -213,29 +213,29 @@ latex_additional_files = ['static/latex/odoo.sty']
|
|||||||
# Grouping the document tree into LaTeX files. List of tuples
|
# Grouping the document tree into LaTeX files. List of tuples
|
||||||
# (source start file, target name, title, author, documentclass [howto, manual, or own class]).
|
# (source start file, target name, title, author, documentclass [howto, manual, or own class]).
|
||||||
latex_documents = [
|
latex_documents = [
|
||||||
('services/legal/terms/enterprise_tex', 'odoo_enterprise_agreement.tex',
|
('legal/terms/enterprise_tex', 'odoo_enterprise_agreement.tex',
|
||||||
'Odoo Enterprise Subscription Agreement', '', 'howto'),
|
'Odoo Enterprise Subscription Agreement', '', 'howto'),
|
||||||
('services/legal/terms/partnership_tex',
|
('legal/terms/partnership_tex',
|
||||||
'odoo_partnership_agreement.tex', 'Odoo Partnership Agreement', '', 'howto'),
|
'odoo_partnership_agreement.tex', 'Odoo Partnership Agreement', '', 'howto'),
|
||||||
('services/legal/terms/terms_of_sale',
|
('legal/terms/terms_of_sale',
|
||||||
'terms_of_sale.tex', 'Odoo Terms of Sale', '', 'howto'),
|
'terms_of_sale.tex', 'Odoo Terms of Sale', '', 'howto'),
|
||||||
|
|
||||||
('services/legal/terms/i18n/enterprise_tex_fr', 'odoo_enterprise_agreement_fr.tex',
|
('legal/terms/i18n/enterprise_tex_fr', 'odoo_enterprise_agreement_fr.tex',
|
||||||
'Odoo Enterprise Subscription Agreement (FR)', '', 'howto'),
|
'Odoo Enterprise Subscription Agreement (FR)', '', 'howto'),
|
||||||
('services/legal/terms/i18n/partnership_tex_fr',
|
('legal/terms/i18n/partnership_tex_fr',
|
||||||
'odoo_partnership_agreement_fr.tex', 'Odoo Partnership Agreement (FR)', '', 'howto'),
|
'odoo_partnership_agreement_fr.tex', 'Odoo Partnership Agreement (FR)', '', 'howto'),
|
||||||
('services/legal/terms/i18n/terms_of_sale_fr', 'terms_of_sale_fr.tex',
|
('legal/terms/i18n/terms_of_sale_fr', 'terms_of_sale_fr.tex',
|
||||||
u'Conditions Générales de Vente Odoo', '', 'howto'),
|
u'Conditions Générales de Vente Odoo', '', 'howto'),
|
||||||
|
|
||||||
('services/legal/terms/i18n/enterprise_tex_nl', 'odoo_enterprise_agreement_nl.tex',
|
('legal/terms/i18n/enterprise_tex_nl', 'odoo_enterprise_agreement_nl.tex',
|
||||||
'Odoo Enterprise Subscription Agreement (NL)', '', 'howto'),
|
'Odoo Enterprise Subscription Agreement (NL)', '', 'howto'),
|
||||||
|
|
||||||
('services/legal/terms/i18n/enterprise_tex_de', 'odoo_enterprise_agreement_de.tex',
|
('legal/terms/i18n/enterprise_tex_de', 'odoo_enterprise_agreement_de.tex',
|
||||||
'Odoo Enterprise Subscription Agreement (DE)', '', 'howto'),
|
'Odoo Enterprise Subscription Agreement (DE)', '', 'howto'),
|
||||||
|
|
||||||
('services/legal/terms/i18n/enterprise_tex_es', 'odoo_enterprise_agreement_es.tex',
|
('legal/terms/i18n/enterprise_tex_es', 'odoo_enterprise_agreement_es.tex',
|
||||||
'Odoo Enterprise Subscription Agreement (ES)', '', 'howto'),
|
'Odoo Enterprise Subscription Agreement (ES)', '', 'howto'),
|
||||||
('services/legal/terms/i18n/partnership_tex_es',
|
('legal/terms/i18n/partnership_tex_es',
|
||||||
'odoo_partnership_agreement_es.tex', 'Odoo Partnership Agreement (ES)', '', 'howto'),
|
'odoo_partnership_agreement_es.tex', 'Odoo Partnership Agreement (ES)', '', 'howto'),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
@ -1,5 +1,6 @@
|
|||||||
/* global Immutable, React */
|
/* global Immutable, React */
|
||||||
(function () {
|
(function () {
|
||||||
|
// NOTE VFE: used by memento.rst
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
function highlight(primary, secondary) {
|
function highlight(primary, secondary) {
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
/* global Immutable, React */
|
/* global Immutable, React */
|
||||||
/* global createAtom */
|
/* global createAtom */
|
||||||
(function () {
|
(function () {
|
||||||
|
// NOTE VFE: used by memento.rst
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var data = createAtom();
|
var data = createAtom();
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
/* global Immutable, React */
|
/* global Immutable, React */
|
||||||
/* global createAtom */
|
/* global createAtom */
|
||||||
(function () {
|
(function () {
|
||||||
|
// NOTE VFE: used for double_entry.rst file
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var data = createAtom();
|
var data = createAtom();
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
function highlight() {
|
function highlight() {
|
||||||
|
// NOTE VFE: used by double-entry.rst
|
||||||
$('.highlighter-list').each(function () {
|
$('.highlighter-list').each(function () {
|
||||||
var $this = $(this),
|
var $this = $(this),
|
||||||
$target = $($this.data('target'));
|
$target = $($this.data('target'));
|
||||||
@ -33,6 +34,7 @@
|
|||||||
* - automatically select first control on startup
|
* - automatically select first control on startup
|
||||||
*/
|
*/
|
||||||
function alternatives() {
|
function alternatives() {
|
||||||
|
// NOTE VFE: used by double-entry.rst & valuation_methods pages
|
||||||
$('dl.alternatives').each(function (index) {
|
$('dl.alternatives').each(function (index) {
|
||||||
var $list = $(this),
|
var $list = $(this),
|
||||||
$contents = $list.children('dd');
|
$contents = $list.children('dd');
|
||||||
@ -65,6 +67,7 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
function checks_handling() {
|
function checks_handling() {
|
||||||
|
// NOTE VFE: used by memento.rst
|
||||||
var $section = $('.checks-handling');
|
var $section = $('.checks-handling');
|
||||||
if (!$section.length) { return; }
|
if (!$section.length) { return; }
|
||||||
|
|
||||||
|