Repository: learningequality/kolibri

Issue:
spurious sphinx warnings due to duplicate labels in included files
### Observed behavior
<!--
Description of the behavior that was observed, including screenshots or other references when applicable
-->

```
/Users/d/Projects/learning_equality/repos/k2/docs/install/advanced.rst:13: WARNING: duplicate label advanced-installation, other instance in /Users/d/Projects/learning_equality/repos/k2/docs/install.rst
/Users/d/Projects/learning_equality/repos/k2/docs/install/advanced.rst:21: WARNING: duplicate label pip-installation, other instance in /Users/d/Projects/learning_equality/repos/k2/docs/install.rst
/Users/d/Projects/learning_equality/repos/k2/docs/install/advanced.rst:51: WARNING: duplicate label raspberry-pi-wifi, other instance in /Users/d/Projects/learning_equality/repos/k2/docs/install.rst
/Users/d/Projects/learning_equality/repos/k2/docs/install/advanced.rst:31: WARNING: duplicate label ppa-installation, other instance in /Users/d/Projects/learning_equality/repos/k2/docs/install.rst
/Users/d/Projects/learning_equality/repos/k2/docs/install/android.rst:13: WARNING: duplicate label apk, other instance in /Users/d/Projects/learning_equality/repos/k2/docs/install.rst
/Users/d/Projects/learning_equality/repos/k2/docs/install/initial_setup.rst:14: WARNING: duplicate label setup_initial, other instance in /Users/d/Projects/learning_equality/repos/k2/docs/install.rst
```

and 

```
/Users/d/Projects/learning_equality/repos/k2/docs/manage_classes.rst:73: WARNING: duplicate label enroll_new_users_class, other instance in /Users/d/Projects/learning_equality/repos/k2/docs/manage.rst
/Users/d/Projects/learning_equality/repos/k2/docs/manage_classes.rst:14: WARNING: duplicate label manage_classes_ref, other instance in /Users/d/Projects/learning_equality/repos/k2/docs/manage.rst
/Users/d/Projects/learning_equality/repos/k2/docs/manage_content.rst:13: WARNING: duplicate label manage_content_ref, other instance in /Users/d/Projects/learning_equality/repos/k2/docs/manage.rst
/Users/d/Projects/learning_equality/repos/k2/docs/manage_data.rst:13: WARNING: duplicate label manage_data_ref, other instance in /Users/d/Projects/learning_equality/repos/k2/docs/manage.rst
/Users/d/Projects/learning_equality/repos/k2/docs/manage_device.rst:68: WARNING: duplicate label device_info, other instance in /Users/d/Projects/learning_equality/repos/k2/docs/manage.rst
/Users/d/Projects/learning_equality/repos/k2/docs/manage_device.rst:13: WARNING: duplicate label manage_device_ref, other instance in /Users/d/Projects/learning_equality/repos/k2/docs/manage.rst
/Users/d/Projects/learning_equality/repos/k2/docs/manage_device.rst:24: WARNING: duplicate label permissions, other instance in /Users/d/Projects/learning_equality/repos/k2/docs/manage.rst
/Users/d/Projects/learning_equality/repos/k2/docs/manage_exams.rst:14: WARNING: duplicate label manage_exams, other instance in /Users/d/Projects/learning_equality/repos/k2/docs/coach.rst
/Users/d/Projects/learning_equality/repos/k2/docs/manage_facility.rst:13: WARNING: duplicate label manage_facility_ref, other instance in /Users/d/Projects/learning_equality/repos/k2/docs/manage.rst
/Users/d/Projects/learning_equality/repos/k2/docs/manage_groups.rst:14: WARNING: duplicate label manage_groups, other instance in /Users/d/Projects/learning_equality/repos/k2/docs/coach.rst
/Users/d/Projects/learning_equality/repos/k2/docs/manage_users.rst:13: WARNING: duplicate label manage_users_ref, other instance in /Users/d/Projects/learning_equality/repos/k2/docs/manage.rst
/Users/d/Projects/learning_equality/repos/k2/docs/user_roles.rst:13: WARNING: duplicate label user_roles, other instance in /Users/d/Projects/learning_equality/repos/k2/docs/manage.rst

```

these 'partial' files are also built into individual HTML files

### Expected behavior

only the master file should be built

### User-facing consequences

none, but bad for devs


### Context

https://github.com/learningequality/kolibri/issues/2598



Discussion:

Resolving patch:
diff --git a/docs/conf.py b/docs/conf.py
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -61,7 +61,7 @@
 
 # List of patterns, relative to source directory, that match files and
 # directories to ignore when looking for source files.
-exclude_patterns = ['_build']
+exclude_patterns = ['_build', '**/_*.rst']
 
 # The name of the Pygments (syntax highlighting) style to use.
 pygments_style = 'sphinx'


Test patch: