update
This commit is contained in:
parent
8135ed831d
commit
3b5a2fe97d
3
Makefile
3
Makefile
@ -26,6 +26,7 @@ SPHINXOPTS = -D project_root=$(ROOT) -D canonical_version=$(CANONICAL_VERSIO
|
|||||||
-j $(WORKERS)
|
-j $(WORKERS)
|
||||||
SOURCE_DIR = content
|
SOURCE_DIR = content
|
||||||
THEME = extensions/odoo_theme
|
THEME = extensions/odoo_theme
|
||||||
|
THEME_STATIC = extensions/odoo_theme/static
|
||||||
LOCALE = locale
|
LOCALE = locale
|
||||||
STATIC = static
|
STATIC = static
|
||||||
REDIRECTS = redirects
|
REDIRECTS = redirects
|
||||||
@ -71,7 +72,7 @@ livehtml:
|
|||||||
@echo "Starting Live Server..."
|
@echo "Starting Live Server..."
|
||||||
$(SPHINX_AUTO_BUILD) $(SOURCE_DIR) $(HTML_BUILD_DIR) \
|
$(SPHINX_AUTO_BUILD) $(SOURCE_DIR) $(HTML_BUILD_DIR) \
|
||||||
--port 8000 --host $(SERVER_IP) \
|
--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'" \
|
--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
|
$(SPHINXOPTS) -c $(CONFIG_DIR) -b html
|
||||||
|
|
||||||
|
2
conf.py
2
conf.py
@ -237,7 +237,7 @@ sphinx.transforms.i18n.docname_to_domain = (
|
|||||||
versions_names = {
|
versions_names = {
|
||||||
'master': "Master",
|
'master': "Master",
|
||||||
'saas-18.1': "Odoo Online",
|
'saas-18.1': "Odoo Online",
|
||||||
'18.0': "Odoo 18",
|
'18.0': "18.0",
|
||||||
'saas-17.4': "Odoo Online",
|
'saas-17.4': "Odoo Online",
|
||||||
'saas-17.2': "Odoo Online",
|
'saas-17.2': "Odoo Online",
|
||||||
'17.0': "Odoo 17",
|
'17.0': "Odoo 17",
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// Backgrounds
|
// 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: mix($startColor, $endColor);
|
||||||
background: linear-gradient($deg, $startColor $startOffset, $endColor $endOffset);
|
background: linear-gradient($deg, $startColor $startOffset, $endColor $endOffset);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user