From 2dd946f0040d460a7a0481f5204475e386773362 Mon Sep 17 00:00:00 2001 From: Deepak Khatri <deepaklorkhatri7@gmail.com> Date: Thu, 8 Feb 2024 16:18:13 +0530 Subject: [PATCH] Update build instructions --- guides/contrib.rst | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/guides/contrib.rst b/guides/contrib.rst index 5579d9c..9beeb3c 100644 --- a/guides/contrib.rst +++ b/guides/contrib.rst @@ -11,18 +11,24 @@ simple steps provided below. .. note:: `OpenBeagle <https://openbeagle.org/>`_ is a self hosted instance of open source program called `GitLab <https://about.gitlab.com/>`_. -.. tip:: If you want to build on your local machine we have added ``venv-build-env.sh`` and ``requirements.txt`` +.. tip:: + If you want to build on your local machine we have added ``venv-build-env.sh`` and ``requirements.txt`` to help you setup sphinx and all the other dependencies. Execute these commands in your terminal, + + Install python modules and setup virtual environment, .. code:: shell - chmod +x venv-build-env.sh + . ./venv-build-env.sh + + Build and serve it live using ``sphinx-autobuild``, .. code:: shell make livehtml - Now, you can open `http://127.0.0.1:8000 <http://127.0.0.1:8000>`_ on any browser to see the rendered HTML with live updates. + Now, you can open `http://127.0.0.1:8000 <http://127.0.0.1:8000>`_ on any browser to see the rendered HTML with live updates. + Clear cookies and site data in your browser window to view up to date site. Fork the project ***************** -- GitLab