[MOV] legal page to the root content level

This commit is contained in:
Victor Feyens 2021-03-18 16:33:10 +01:00
parent b38b6e2b6d
commit 41937c4016
40 changed files with 17 additions and 11 deletions

View File

@ -52,7 +52,7 @@ latexpdf:
@echo "Starting build..."
$(SPHINX_BUILD) -c $(CONFIG_DIR) -b latex $(SPHINXOPTS) $(SOURCE_DIR) $(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."
# TODO update sphinx-intl command to take args

20
conf.py
View File

@ -213,29 +213,29 @@ latex_additional_files = ['static/latex/odoo.sty']
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto, manual, or own class]).
latex_documents = [
('services/legal/terms/enterprise_tex', 'odoo_enterprise_agreement.tex',
('legal/terms/enterprise_tex', 'odoo_enterprise_agreement.tex',
'Odoo Enterprise Subscription Agreement', '', 'howto'),
('services/legal/terms/partnership_tex',
('legal/terms/partnership_tex',
'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'),
('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'),
('services/legal/terms/i18n/partnership_tex_fr',
('legal/terms/i18n/partnership_tex_fr',
'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'),
('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'),
('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'),
('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'),
('services/legal/terms/i18n/partnership_tex_es',
('legal/terms/i18n/partnership_tex_es',
'odoo_partnership_agreement_es.tex', 'Odoo Partnership Agreement (ES)', '', 'howto'),
]

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -1,5 +1,6 @@
/* global Immutable, React */
(function () {
// NOTE VFE: used by memento.rst
'use strict';
function highlight(primary, secondary) {

View File

@ -1,6 +1,7 @@
/* global Immutable, React */
/* global createAtom */
(function () {
// NOTE VFE: used by memento.rst
'use strict';
var data = createAtom();

View File

@ -1,6 +1,7 @@
/* global Immutable, React */
/* global createAtom */
(function () {
// NOTE VFE: used for double_entry.rst file
'use strict';
var data = createAtom();

View File

@ -6,6 +6,7 @@
});
function highlight() {
// NOTE VFE: used by double-entry.rst
$('.highlighter-list').each(function () {
var $this = $(this),
$target = $($this.data('target'));
@ -33,6 +34,7 @@
* - automatically select first control on startup
*/
function alternatives() {
// NOTE VFE: used by double-entry.rst & valuation_methods pages
$('dl.alternatives').each(function (index) {
var $list = $(this),
$contents = $list.children('dd');
@ -65,6 +67,7 @@
});
}
function checks_handling() {
// NOTE VFE: used by memento.rst
var $section = $('.checks-handling');
if (!$section.length) { return; }