This commit is contained in:
hoangvv 2025-02-27 12:01:27 +07:00
parent 8135ed831d
commit 3b5a2fe97d
3 changed files with 4 additions and 3 deletions

View File

@ -26,6 +26,7 @@ SPHINXOPTS = -D project_root=$(ROOT) -D canonical_version=$(CANONICAL_VERSIO
-j $(WORKERS)
SOURCE_DIR = content
THEME = extensions/odoo_theme
THEME_STATIC = extensions/odoo_theme/static
LOCALE = locale
STATIC = static
REDIRECTS = redirects
@ -71,7 +72,7 @@ livehtml:
@echo "Starting Live Server..."
$(SPHINX_AUTO_BUILD) $(SOURCE_DIR) $(HTML_BUILD_DIR) \
--port 8000 --host $(SERVER_IP) \
--watch $(THEME) --watch $(LOCALE) --watch $(STATIC) --watch $(REDIRECTS) \
--watch $(THEME) --watch $(LOCALE) --watch $(STATIC) --watch $(REDIRECTS) --watch $(THEME_STATIC) --watch . \
--pre-build "sh -c 'mkdir -p $(HTML_BUILD_DIR)/_static && python3 -m pysassc $(THEME)/static/style.scss $(HTML_BUILD_DIR)/_static/style.css'" \
$(SPHINXOPTS) -c $(CONFIG_DIR) -b html

View File

@ -237,7 +237,7 @@ sphinx.transforms.i18n.docname_to_domain = (
versions_names = {
'master': "Master",
'saas-18.1': "Odoo Online",
'18.0': "Odoo 18",
'18.0': "18.0",
'saas-17.4': "Odoo Online",
'saas-17.2': "Odoo Online",
'17.0': "Odoo 17",

View File

@ -16,7 +16,7 @@
// Backgrounds
// ------------------------------------------------------------------
@mixin o-gradient($deg: 99deg , $startColor: $secondary, $endColor: #62495B, $startOffset: 10%, $endOffset: 90%){
@mixin o-gradient($deg: 99deg , $startColor: $secondary, $endColor: #4080f7, $startOffset: 10%, $endOffset: 90%){
background: mix($startColor, $endColor);
background: linear-gradient($deg, $startColor $startOffset, $endColor $endOffset);
}