Avaiga / taipy-doc

Holds the documentation set for Taipy, not including the code documentation obviously.
https://docs.taipy.io/
Apache License 2.0
17 stars 24 forks source link

The CSS file used in the Gui contrustuctor is not loaded when running in a Notebook context #403

Open FredLL-Avaiga opened 1 year ago

FredLL-Avaiga commented 1 year ago

Description Let's make a specific note for NB. In the Notebook section, and in the GUI constructor's doc section (pointing to the other).

Expected change Let user know that when using notebook we can't get to the CSS file beside the notebook file. they need to use path_mapping to access the CSS file ie : path_mapping = {"css_dir" : os.getcwd()} and css_file = "css_dir/main"

can't do justification: https://github.com/ipython/ipython/issues/10123

FredLL-Avaiga commented 1 year ago

When the current module is not a file, we look for taipy.css in the current directory.