diff --git a/webpage/faq.py b/webpage/faq.py index 0e52310c..e30afc86 100644 --- a/webpage/faq.py +++ b/webpage/faq.py @@ -1,12 +1,42 @@ faq = {} -faq['What was new in Biogeme 3.2.12?'] = """ +faq[ + 'What was new in Biogeme 3.2.13?' +] = """ +
biogeme.logging
into biogeme.biogeme_logging.py
. It was necessary because of the ambiguity with the logging
module from Python.
+This release mainly implements some re-organization of the code and bugs fixes. In particular, the generic optimization algorithms are now distributed in a different package, called biogeme_optimization.
""" -faq['What was new in Biogeme 3.2.11?'] = """ +faq[ + 'What was new in Biogeme 3.2.11?' +] = """Note: versions 3.2.9 and 3.2.10 are identical. Therefore, version 3.2.9 has been removed from the official distribution platform.
@@ -116,7 +148,9 @@ """ -faq['What was new in Biogeme 3.2.8?'] = """ +faq[ + 'What was new in Biogeme 3.2.8?' +] = """Note that version 3.2.7 and 3.2.8 are almost identical. The description belows compares to version 3.2.6.
C:\\Users\\[USER_NAME]\\anaconda3\\DLLs or C:\\ProgramData\\Anaconda3\\DLLs
.@@ -440,7 +480,9 @@ If it does not work... I don't know :-( """ -faq['Why is it trying to compile during installation?'] = """ +faq[ + 'Why is it trying to compile during installation?' +] = """ On Mac OSX and Windows, the procedure is designed to install from binaries, not sources. If you get messages that look like the following, it means that pip is trying to compile from sources. And diff --git a/webpage/generate.py b/webpage/generate.py index 9766fef4..087991e0 100644 --- a/webpage/generate.py +++ b/webpage/generate.py @@ -14,11 +14,13 @@ CARD_FILE = 'card.html' SPECIAL_FILE = 'special.html' + def replace(orig_text, dictionary): for k, v in dictionary.items(): orig_text = orig_text.replace(k, v) return orig_text + def get_section(content): all_html = '' id = 0 @@ -58,7 +60,7 @@ def get_special(content): all_html = '' with open(SPECIAL_FILE, 'r', encoding='utf-8') as f: html = f.read() - + for special_title, special_content in content.items(): my_html = html replacements = { @@ -67,7 +69,8 @@ def get_special(content): } all_html += replace(my_html, replacements) return all_html - + + def get_portfolio_grid(doc): all_html = '' for data, values in doc.items(): @@ -135,7 +138,7 @@ def get_portfolio_modals(doc): '__DOC__': get_section(documentation), '__RES__': get_section(resources), '__ARCHIVES__': get_section(archives), - '__SPECIAL__': get_special(special) + '__SPECIAL__': get_special(special), } html = replace(html, replacements) @@ -157,9 +160,9 @@ def get_portfolio_modals(doc): # Copy the Bootstrap assets shutil.copytree('assets', 'website/assets') - + # Copy the PythonBiogeme distribution shutil.copytree('otherFiles/distrib', 'website/distrib') # Copy the sphinx documentation -shutil.copytree('../sphinx/_build/html', 'website/sphinx') +shutil.copytree('../docs/build/html', 'website/sphinx') diff --git a/webpage/index.html.orig b/webpage/index.html.orig index 805f453b..a3d1bf7a 100644 --- a/webpage/index.html.orig +++ b/webpage/index.html.orig @@ -5,7 +5,7 @@ -@@ -51,7 +51,8 @@ @@ -317,7 +318,7 @@Biogeme 3.2.12 +Biogeme 3.2.13 @@ -34,7 +34,7 @@