#16 Install Sphinx in Vagrant and add a handy alias for building docs.
Merged 7 years ago by bowlofeggs. Opened 7 years ago by bowlofeggs.
bowlofeggs/fegistry vagrant-sphinx  into  master

@@ -9,6 +9,7 @@ 

  # export SYSTEMD_PAGER=

  

  shopt -s expand_aliases

+ alias fdocs="pushd /home/vagrant/fegistry/docs && make html; popd"

  alias flog="sudo journalctl -u fegistry"

  alias frestart="sudo systemctl restart fegistry"

  alias fstart="sudo systemctl start fegistry"

@@ -10,6 +10,7 @@ 

        - python3-mock

        - python3-nose

        - python3-nose-cov

+       - python3-sphinx

  

  - name: Install the .bashrc

    copy:

file modified
+1
@@ -48,6 +48,7 @@ 

  You can use ``vagrant ssh`` to ssh into the guest if you like. Inside the guest environment, you

  will find the code shared at ``/home/vagrant/fegistry``. There are some convenient bash aliases::

  

+     fdocs:    Build the docs. The output will be in /home/vagrant/fegistry/docs/_build/html/ .

      flog:     Display the development server's log. You can pass a ``-f`` flag to continuously

                display the log.

      frestart: Restart the development server. The development server does automatically pick up