On Thu, Jul 28, 2016 at 9:32 AM, 薛亚兰 <[email protected]> wrote:
Thanks Thomas, then I knew how to put the custom.js file, and I tried, it > worked, Thanks again. > > however, I have another question about the notebook local directory, what > parameter we should set to change it, since in my example, I really have no > idea why the local directory of mine should be this value, > Serving notebooks from local directory: */tmp/nonroot/jupyter/work* > I run the jupyter notebook at this dir */tmp/nonroot/jupyter/,* and I > already set the *c.NotebookApp.notebook_dir* to be another value, but > the local directory keeps the same, everytime I start a notebook, it is > this value > > */tmp/nonroot/jupyter/work/. * > Do you have any idea about these above dir associated issues? > Setting c.NotebookApp.notebook_dir should indeed set the default notebook directory. This will be overridden by command-line arguments, e.g. jupyter notebook /path/to/notebooks or jupyter notebook --notebook-dir /path/to/notebooks You might verify that this config is picked up, by starting the notebook server with --debug. -MinRK > Thanks in advance! > > 2016-07-28 4:40 GMT+08:00 Thomas Kluyver <[email protected]>: > >> On 27 July 2016 at 11:36, <[email protected]> wrote: >> >>> the config file really produced in MY_CONFIG_DIR, and some files like >>> nbserver-20374.json produced in runtime dir of MY_DATA_DIR, but I >>> definitely can not find the dirs as custom and files as custom.js, Could >>> anyone help me or tell me where are the files' location? >>> >> >> The custom files are not created automatically, but you can put them at >> e.g. $JUPYTER_CONFIG_DIR/custom/custom.js >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Project Jupyter" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/jupyter/VF5RHpncN2k/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To post to this group, send email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jupyter/CAOvn4qh%2BkSQ_cdGj6M28ZanoXJTNpEgiTrT7AWYc%3D-5XX_anww%40mail.gmail.com >> <https://groups.google.com/d/msgid/jupyter/CAOvn4qh%2BkSQ_cdGj6M28ZanoXJTNpEgiTrT7AWYc%3D-5XX_anww%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Yalan Xue , SIT Lab of Nanjing University > Address: Nanjing ,China。 > > -- > You received this message because you are subscribed to the Google Groups > "Project Jupyter" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jupyter/CACNymyti%3DfBzxrU56qTk3fMaeFPYit%3DcwQUoYMve2_%2B9VqqCyg%40mail.gmail.com > <https://groups.google.com/d/msgid/jupyter/CACNymyti%3DfBzxrU56qTk3fMaeFPYit%3DcwQUoYMve2_%2B9VqqCyg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAHNn8BUJ%2BUz-UYqwb4se0Z_Vux08f-d8xLLKRoVw_q9d8DQpZg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
