Skip to content

Commit

Permalink
Add install docs command and update make html command
Browse files Browse the repository at this point in the history
Co-authored-by: Kelvin Muchiri <[email protected]>
  • Loading branch information
FrankApiyo and kelvin-muchiri committed Jul 17, 2024
1 parent 93ba285 commit cae81e1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,18 @@
when:
- not onadata_unmanaged_git_key

- name: Install docs.pip
become: true
become_user: "{{ onadata_system_user }}"
shell: "source {{ onadata_venv_path }}/bin/activate && python -m pip install --no-cache-dir -r requirements/docs.pip"
args:
executable: /bin/bash
chdir: "{{ onadata_codebase_path }}"

- name: Generate Docs
become: true
become_user: "{{ onadata_system_user }}"
shell: "source {{ onadata_venv_path }}/bin/activate && /usr/bin/make html"
shell: "source {{ onadata_venv_path }}/bin/activate && make html"
args:
executable: /bin/bash
chdir: "{{ onadata_codebase_path }}/docs"

0 comments on commit cae81e1

Please sign in to comment.