Repository: great-expectations/great_expectations

Issue:
great_expectations.yml has broken links
Working off the latest version:

```
→ great_expectations --version

great_expectations, version 0.8.4.post0
```


YAML file generated from `great_expectations init` has the following contents:

```yaml

# Welcome to Great Expectations! Always know what to expect from your data.
# 
# Here you can define datasources, generators, integrations and more. This file
# is intended to be committed to your repo. For help with configuration please:
#   - Read our docs: https://docs.greatexpectations.io/en/0_8_4_post0/reference/data_context_reference.html#configuration
#   - Join our slack channel: http://greatexpectations.io/slack
#
# NOTE: GE uses the names of configured `datasources` and `generators` to manage
# how `expectations` and other artifacts are stored in the `expectations/` and 
# `datasources/` folders. If you need to rename an existing `datasource` or 
# `generator`, be sure to also update the relevant directory names.

config_version: 1

# Datasources tell Great Expectations where your data lives and how to get it.
# You can use the CLI command `great_expectations add-datasource` to help you
# add a new datasource. Read more at https://docs.greatexpectations.io/en/0_8_4_post0/features/datasource.html
datasources:
  test:
    class_name: PandasDatasource
    data_asset_type:
      class_name: PandasDataset
    generators:
      default:
        class_name: SubdirReaderGenerator
        base_directory: ../misc
        reader_options:
          sep:
          engine: python
```


All the docs linked throughout the yaml file, i.e. https://docs.greatexpectations.io/en/0_8_4_post0/features/datasource.html, do not exist.

Missing link/reference in docs?
https://docs.greatexpectations.io/en/latest/reference/data_context_reference.html#validation-operators

![image](https://user-images.githubusercontent.com/11096727/68488005-24e6e500-0212-11ea-8e95-013d74a52096.png)

Assuming the underlined part should have a hyperlink?


Discussion:
Thanks for finding this @ian-whitestone ! This looks like a bug in how we are generating RTD URL’s. The correct url is https://docs.greatexpectations.io/en/0.8.4.post0/features/datasource.html
It makes more sense to repoint the links in the config file to "latest" docs.


Resolving patch:
diff --git a/great_expectations/data_context/templates.py b/great_expectations/data_context/templates.py
--- a/great_expectations/data_context/templates.py
+++ b/great_expectations/data_context/templates.py
@@ -6,7 +6,7 @@
 # 
 # Here you can define datasources, generators, integrations and more. This file
 # is intended to be committed to your repo. For help with configuration please:
-#   - Read our docs: https://docs.greatexpectations.io/en/""" + rtd_url_ge_version + """/reference/data_context_reference.html#configuration
+#   - Read our docs: https://docs.greatexpectations.io/en/latest/reference/data_context_reference.html#configuration
 #   - Join our slack channel: http://greatexpectations.io/slack
 #
 # NOTE: GE uses the names of configured `datasources` and `generators` to manage
@@ -18,7 +18,7 @@
 
 # Datasources tell Great Expectations where your data lives and how to get it.
 # You can use the CLI command `great_expectations add-datasource` to help you
-# add a new datasource. Read more at https://docs.greatexpectations.io/en/""" + rtd_url_ge_version + """/features/datasource.html
+# add a new datasource. Read more at https://docs.greatexpectations.io/en/latest/features/datasource.html
 datasources: {}
 """
 
@@ -36,7 +36,7 @@
 # If the substitution value comes from the config variables file, it can be a
 # simple (non-nested) value or a nested value such as a dictionary. If it comes
 # from an environment variable, it must be a simple value. Read more at:
-# https://docs.greatexpectations.io/en/""" + rtd_url_ge_version + """/reference/data_context_reference.html#managing-environment-and-secrets"""
+# https://docs.greatexpectations.io/en/latest/reference/data_context_reference.html#managing-environment-and-secrets"""
 
 # This junky fake key keeps ruaml.yml from nuking the important comment block
 CONFIG_VARIABLES_TEMPLATE = "ge_comment_preservation_key: 1" + CONFIG_VARIABLES_INTRO
@@ -51,11 +51,11 @@
 # Validation Operators are customizable workflows that bundle the validation of
 # one or more expectation suites and subsequent actions. The example below
 # stores validations and send a slack notification. To read more about
-# customizing and extending these, read: https://docs.greatexpectations.io/en/""" + rtd_url_ge_version + """/features/validation_operators_and_actions.html
+# customizing and extending these, read: https://docs.greatexpectations.io/en/latest/features/validation_operators_and_actions.html
 validation_operators:
   action_list_operator:
     # To learn how to configure sending Slack notifications during evaluation
-    # (and other customizations), read: https://docs.greatexpectations.io/en/""" + rtd_url_ge_version + """/reference/validation_operators/action_list_validation_operator.html
+    # (and other customizations), read: https://docs.greatexpectations.io/en/latest/reference/validation_operators/action_list_validation_operator.html
     class_name: ActionListValidationOperator
     action_list:
       - name: store_validation_result
@@ -99,7 +99,7 @@
 
   evaluation_parameter_store:
     # Evaluation Parameters enable dynamic expectations. Read more here:
-    # https://docs.greatexpectations.io/en/""" + rtd_url_ge_version + """/reference/evaluation_parameters.html
+    # https://docs.greatexpectations.io/en/latest/reference/evaluation_parameters.html
     class_name: InMemoryEvaluationParameterStore
 
 expectations_store_name: expectations_store
@@ -110,7 +110,7 @@
   # Data Docs make it simple to visualize data quality in your project. These
   # include Expectations, Validations & Profiles. The are built for all
   # Datasources from JSON artifacts in the local repo including validations &
-  # profiles from the uncommitted directory. Read more at https://docs.greatexpectations.io/en/""" + rtd_url_ge_version + """/features/data_docs.html
+  # profiles from the uncommitted directory. Read more at https://docs.greatexpectations.io/en/latest/features/data_docs.html
   local_site:
     class_name: SiteBuilder
     store_backend:


Test patch: