Skip to content

Commit cae81e1

Browse files
Add install docs command and update make html command
Co-authored-by: Kelvin Muchiri <[email protected]>
1 parent 93ba285 commit cae81e1

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

tasks/install.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,18 @@
2525
when:
2626
- not onadata_unmanaged_git_key
2727

28+
- name: Install docs.pip
29+
become: true
30+
become_user: "{{ onadata_system_user }}"
31+
shell: "source {{ onadata_venv_path }}/bin/activate && python -m pip install --no-cache-dir -r requirements/docs.pip"
32+
args:
33+
executable: /bin/bash
34+
chdir: "{{ onadata_codebase_path }}"
35+
2836
- name: Generate Docs
2937
become: true
3038
become_user: "{{ onadata_system_user }}"
31-
shell: "source {{ onadata_venv_path }}/bin/activate && /usr/bin/make html"
39+
shell: "source {{ onadata_venv_path }}/bin/activate && make html"
3240
args:
3341
executable: /bin/bash
3442
chdir: "{{ onadata_codebase_path }}/docs"

0 commit comments

Comments
 (0)