:orphan: |rss_image| **2015-05 - 1/1** :ref:`Blog ` :ref:`notebook (8) ` :ref:`sphinx (13) ` .. |rss_image| image:: feed-icon-16x16.png :target: ../_downloads/rss.xml :alt: RSS ---- .. index:: 2015-05 .. _ap-month-2015-05-0: 2015-05 - 1/1 +++++++++++++ .. blogpostagg:: :title: Convert a notebook into slides :date: 2015-05-16 :keywords: script,notebook,slides,add_tag_slide :categories: notebook,automation :rawfile: 2015/2015-05-16_notebook_in_slides.rst I thought it would be easy to convert a notebook into slides. I would just have to execute `nbconvert `_. I went through two issues. The first one came from `reveal.js `_. My first tries did not work. I decided to take the version included in the module `sphinxjp.themes.revealjs `_ and I also updated the output of *nbconvert* to remove external links as much as possible. ... .. blogpostagg:: :title: Add a custom menu to the notebook :date: 2015-05-14 :keywords: script,menu :categories: notebook,automation :rawfile: 2015/2015-05-14_menu_notebook.rst The function :func:`add_notebook_menu ` add HTML and Javascript to the notebook to create links to all sections in the notebook:: ... .. blogpostagg:: :title: Create a script to read this blog :date: 2015-05-10 :keywords: script :categories: automation,blog :rawfile: 2015/2015-05-10_blog_script.rst The module now includes a function :func:`write_module_scripts ` creates a script *auto_rss_server.py* which grabs the latest blog post from this stream, runs a server and opens the default browser to read them. It uses the module `pyrsslocal `_. Here is the code to read this blog:: ... .. blogpostagg:: :title: Frequent commands and automation :date: 2015-05-06 :keywords: command line,batch files :categories: automation,setup :rawfile: 2015/2015-05-06_build_script.rst The script ``setup.py`` accepts several options such as ``install`` or ``build``. It also accepts ``unittest`` to run the unit tests or ``build_sphinx`` to build the documentation. It usually requires to have a command line windows opened as well as an editor to write programs. On Windows, the module now produces a series of scripts to automate tasks such as running the unit tests, building the documentation. They are not included in the sources anymore but the can be obtained by typing:: ... ---- |rss_image| **2015-05 - 1/1** :ref:`2020-08 (2) ` :ref:`2020-09 (1) ` :ref:`2021-01 (1) ` :ref:`2022-03 (1) ` :ref:`2023-05 (1) `