Skip to content

Commit

Permalink
[docs] iterating to get to ASF compliance on project site (#5923)
Browse files Browse the repository at this point in the history
* [docs] iterating to get to ASF compliance on project site

https://whimsy.apache.org/pods/project/superset is a place to check on
whether we match the ASF's requirements

* Minor adjustments
  • Loading branch information
mistercrunch committed Sep 20, 2018
1 parent 4e78803 commit 896c260
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 12 deletions.
8 changes: 4 additions & 4 deletions docs/conf.py
Expand Up @@ -51,7 +51,7 @@

# General information about the project.
project = "Apache Superset"
copyright = 'Apache Software Foundation'
copyright = 'Copyright © 2018 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.'
author = u'Maxime Beauchemin'

# The version info for the project you're documenting, acts as replacement for
Expand Down Expand Up @@ -132,7 +132,7 @@

# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
#html_logo = None
# html_logo = "images/s.png"

# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
Expand Down Expand Up @@ -177,10 +177,10 @@
html_show_sourcelink = False

# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
#html_show_sphinx = True
html_show_sphinx = False

# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
html_show_copyright = False
html_show_copyright = True

# If true, an OpenSearch description file will be output, and all pages will
# contain a <link> tag referring to it. The value of this option must be the
Expand Down
30 changes: 24 additions & 6 deletions docs/index.rst
@@ -1,4 +1,12 @@
.. image:: images/s.png
|apache_img| |superset_img|

.. |apache_img| image:: images/apache_feather.png
:width: 7%
:target: http://www.apache.org/
:alt: The Apache Software Foundation

.. |superset_img| image:: images/s.png
:width: 25%

Apache Superset (incubating)
''''''''''''''''''''''''''''
Expand All @@ -9,9 +17,6 @@ intelligence web application

----------------

.. warning:: This project was originally named Panoramix, was renamed to
Caravel in March 2016, and is currently named Superset as of November 2016

.. important::

**Disclaimer**: Apache Superset is an effort undergoing incubation at The
Expand All @@ -24,8 +29,13 @@ intelligence web application
the code, it does indicate that the project has yet to be fully
endorsed by the ASF.

Resources
=========
.. note:: Apache Superset, Superset, Apache, the Apache feather logo, and
the Apache Superset project logo are either registered trademarks or
trademarks of The Apache Software Foundation in the United States
and other countries.

Superset Resources
==================
- `Superset's Github <https://github.com/apache/incubator-superset>`_, note
that `we use Github for issue tracking <https://github.com/apache/incubator-superset/issues>`_
- Superset's
Expand All @@ -37,6 +47,14 @@ Resources
To subscribe, send an email to ``dev-subscribe@superset.apache.org``
- `Join our Slack <https://join.slack.com/t/apache-superset/shared_invite/enQtNDMxMDY5NjM4MDU0LTc2Y2QwYjE4NGYwNzQyZWUwYTExZTdiZDMzMWQwZjc2YmJmM2QyMDkwMGVjZTA4N2I2MzUxZTk2YmE5MWRhZWE>`_

Apache Software Foundation Resources
====================================
- `The Apache Software Foundation Website <http://www.apache.org>`_
- `Current Events <http://www.apache.org/events/current-event>`_
- `License <https://www.apache.org/licenses/>`_
- `Thanks <https://www.apache.org/foundation/thanks.html>`_ to the ASF's sponsors
- `Sponsor Apache! <http://www.apache.org/foundation/sponsorship.html>`_

Overview
========

Expand Down
Binary file added superset/assets/images/apache_feather.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions superset/jinja_context.py
Expand Up @@ -72,7 +72,7 @@ def filter_values(column, default=None):
This searches for "filters" and "extra_filters" in form_data for a match
Usage example:
* SELECT action, count(*) as times
SELECT action, count(*) as times
FROM logs
WHERE action in ( {{ "'" + "','".join(filter_values('action_type')) + "'" )
GROUP BY 1
Expand All @@ -82,7 +82,7 @@ def filter_values(column, default=None):
:param default: default value to return if there's no matching columns
:type default: str
:return: returns a list of filter values
:rtype: list
:type: list
"""
form_data = json.loads(request.form.get('form_data', '{}'))
return_val = []
Expand Down

0 comments on commit 896c260

Please sign in to comment.