Module Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword ListLoad Dict Str Str Dict Str Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Assign NameStore Call NameLoad keyword NameLoad keyword ListLoad Dict Str Str Dict Str Str Str NameLoad Dict Str ListLoad Str Str keyword Dict Str Str Dict Str Str Dict Str Dict Str Str Return Call NameLoad Str Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword ListLoad Dict Str Str Dict Str Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str FunctionDef arguments args NameParam defaults body Assign NameStore Dict Num Num Num Num Num Num Num Num Num Num Num Num Str Str Str Str Str Str Str Str Str Str Str Str Return SubscriptLoad NameLoad Index NameLoad decorator_list Assign NameStore Call NameLoad keyword NameLoad keyword ListLoad Dict Str Str Dict Str Str Str NameLoad Dict Str ListLoad Str keyword Dict Str Dict Str Str keyword TupleLoad NameLoad NameLoad NameLoad Return Call NameLoad Str Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword ListLoad Dict Str Str Dict Str Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str FunctionDef arguments args NameParam defaults body Assign NameStore Dict Num Num Num Num Num Num Num Num Num Num Num Num Str Str Str Str Str Str Str Str Str Str Str Str Return SubscriptLoad NameLoad Index NameLoad decorator_list Assign NameStore Call NameLoad keyword NameLoad keyword ListLoad Dict Str Str Dict Str Str Str NameLoad Dict Str ListLoad Str Str keyword Dict Str Str Dict Str Str Dict Str Dict Str Str keyword TupleLoad NameLoad NameLoad NameLoad Return Call NameLoad Str Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword ListLoad Dict Str Str Dict Str Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Dict Str Str Dict Str Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Dict Str Str Str Assign NameStore Call NameLoad keyword NameLoad keyword ListLoad Dict Str Str Dict Str Str Str NameLoad Dict Str Str ListLoad Str Str ListLoad Str keyword Dict Str Str Dict Str Str Dict Str Dict Str Str Return Call NameLoad Str Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword ListLoad Dict Str Str Dict Str Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Assign NameStore Call NameLoad keyword NameLoad keyword ListLoad Dict Str Str Dict Str Str Str Str Str Num Num Num Dict Str ListLoad Str Dict Str Str Dict Str Str Str Str Num Num Dict Str ListLoad Str keyword Dict Str Str Dict Str Str Dict Str Dict Str Str Return Call NameLoad Str Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword ListLoad Dict Str Str Dict Str Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Dict Str Str Dict Str Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Dict Str Str Str Assign NameStore Call NameLoad keyword NameLoad keyword ListLoad Dict Str Str Dict Str Str Str NameLoad Dict Str Str ListLoad Str Str ListLoad Str Return Call NameLoad Str Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword ListLoad Dict Str Str Dict Str Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str ListLoad Str Str Assign NameStore Call NameLoad keyword NameLoad keyword ListLoad Dict Str Str Dict Str Str Dict Str ListLoad Str keyword Dict Str Str Dict Str Str Dict Str Dict Str Str Return Call NameLoad Str Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword ListLoad Dict Str Str Dict Str Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str ListLoad Str Str Dict Str Str Dict Str Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Dict Str Str Str Assign NameStore Call NameLoad keyword NameLoad keyword ListLoad Dict Str Str Dict Str Str Dict Str ListLoad Str Dict Str Str Dict Str Str Str Num Dict Str ListLoad Str keyword Dict Str Str Dict Str Str Dict Str Dict Str Str Return Call NameLoad Str Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword ListLoad Dict Str Str Dict Str Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Str Assign NameStore Call NameLoad keyword NameLoad keyword ListLoad Dict Str Str Dict Str Str Str Str NameLoad Num Dict Str ListLoad Str Str Dict Str Dict Str Num keyword Dict Str Str Dict Str Str Dict Str Dict Str Str Return Call NameLoad Str Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword ListLoad Dict Str Str Dict Str Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Assign NameStore Call NameLoad keyword NameLoad keyword ListLoad Dict Str Str Dict Str Str Str NameLoad Dict Str ListLoad Str Str keyword Dict Str Str Dict Str Str Dict Str Dict Str Str Return Call NameLoad Str Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword ListLoad Dict Str Str Dict Str Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str FunctionDef arguments args NameParam defaults body Assign NameStore Dict Num Num Num Num Num Num Num Num Num Num Num Num Str Str Str Str Str Str Str Str Str Str Str Str Return SubscriptLoad NameLoad Index NameLoad decorator_list Assign NameStore Call NameLoad keyword NameLoad keyword ListLoad Dict Str Str Dict Str Str Dict Str ListLoad Str Dict Str Str Dict Str Str Str Str ListLoad Num Num Str Dict Str ListLoad Str keyword Dict Str Dict Str Str keyword ListLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad Return Call NameLoad Str Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num Str With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Return Call NameLoad Str Dict Str Str Str Str NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad
N/A N/A os django.shortcuts render_to_response chartit DataPool Chart demoproject.utils.decorators add_source_code_and_doc models MonthlyWeatherByCity MonthlyWeatherSeattle DailyWeather basicline N/A N/A request title code doc sidebar_items N/A N/A N/A 
    A Basic Line Chart
    ------------------
    This is just a simple line chart with data from 2 different columns.
    
    Points to note:

    - ``terms`` is a list of all fields (both for x-axis and y-axis) 
      to retrieve from the model.
    - Remember that for a Chart, the x and y terms in the ``series_options`` 
      are written as ``x: [y, ...]`` pairs.
    - Any valid items in the `Highcharts options object
      <http://www.highcharts.com/ref/>`_ are valid ``chart_options``.
     N/A ds N/A DataPool series N/A N/A options terms N/A source N/A N/A N/A MonthlyWeatherByCity objects all N/A month houston_temp boston_temp N/A cht N/A Chart datasource ds series_options N/A N/A options terms N/A type stacking line False N/A month N/A boston_temp houston_temp chart_options N/A title xAxis N/A text Weather Data of Boston and Houston N/A title N/A text Month number N/A N/A render_to_response chart_code.html N/A chart_list code title doc sidebar_items cht code title doc sidebar_items N/A add_source_code_and_doc basicpie N/A N/A request title code doc sidebar_items N/A N/A N/A 
    A Basic Pie Chart
    ------------------
    This is a pie chart of temperature by month for Boston. 
    
    Points to note:

    - ``terms`` is a list of all fields (both for x-axis and y-axis) 
      to retrieve from the model.
    - Remember that for a Chart, the x and y terms in the ``series_options`` 
      are written as ``x: [y, ...]`` pairs.
    - Any valid items in the `Highcharts options object
      <http://www.highcharts.com/ref/>`_ are valid ``chart_options``.
    - We use the ``x_mapf_sortf_mts`` parameter to convert the month numbers 
      retrieved from the database to month names.
      
    Note: This demo is to demonstrate the use of the API and not to teach 
    you data analysis and data presentation skills. Not all charts plotted 
    in this demo may make sense in real life applications. But they can 
    still be useful in demonstrating the API.
    
     N/A ds N/A DataPool series N/A N/A options terms N/A source N/A N/A N/A MonthlyWeatherByCity objects all N/A month boston_temp monthname N/A N/A month_num N/A N/A N/A names N/A 1 2 3 4 5 6 7 8 9 10 11 12 Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec N/A N/A names N/A month_num N/A N/A cht N/A Chart datasource ds series_options N/A N/A options terms N/A type stacking pie False N/A month N/A boston_temp chart_options N/A title N/A text Monthly Temperature of Boston x_sortf_mapf_mts N/A None monthname False N/A N/A render_to_response chart_code.html N/A chart_list code title doc sidebar_items cht code title doc sidebar_items N/A add_source_code_and_doc mapf_for_x N/A N/A request title code doc sidebar_items N/A N/A N/A 
    Mapping the x-axis
    ------------------
    
    This example demonstrates how to use the ``sortf_mapf_mts`` parameter to 
    *map* the x-axis. The database only has month numbers (1-12) but not the 
    month names. To display the month names in the graph, we create the 
    ``monthname`` function and pass it to the ``Chart`` as the mapping funtion 
    (``mapf``). 
    
    Points to note: 
    
    - ``mts`` is ``False`` because we want to sort by month numbers and map to 
      the month names *after* they are sorted in order of month numbers. 
      Setting it to ``True`` would sort after mapping giving an incorrect sort 
      order like ``Apr``, ``Aug``, ``Dec``, ``...``. 
     N/A ds N/A DataPool series N/A N/A options terms N/A source N/A N/A N/A MonthlyWeatherByCity objects all N/A month houston_temp boston_temp monthname N/A N/A month_num N/A N/A N/A names N/A 1 2 3 4 5 6 7 8 9 10 11 12 Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec N/A N/A names N/A month_num N/A N/A cht N/A Chart datasource ds series_options N/A N/A options terms N/A type stacking line False N/A month N/A boston_temp houston_temp chart_options N/A title xAxis N/A text Weather Data of Boston and Houston N/A title N/A text Month x_sortf_mapf_mts N/A None monthname False N/A N/A render_to_response chart_code.html N/A chart_list code title doc sidebar_items cht code title doc sidebar_items N/A add_source_code_and_doc multi_table_same_x N/A N/A request title code doc sidebar_items N/A N/A N/A 
    Data from multiple models on same chart
    ----------------------------------------
    
    This example demonstrates data from two different models 
    ``MonthlyWeatherByCity`` and ``MonthlyWeatherSeattle`` on the same chart
    and on the same x-axis.
    
    Points to note:
    
    - The `month` in ``terms`` for seattle data is written as 
      ``{'month_seattle': 'month'}`` instead of as just ``'month'`` because 
      in the latter case it would overwrite the ``'month'`` term from the 
      other model.
    - Notice that the Seattle weather data in the database does not have any
      data for August (8) and September (9). Chartit gracefully skips them 
      and plots the rest of the data points aligned correctly.
     N/A ds N/A DataPool series N/A N/A options terms N/A source N/A N/A N/A MonthlyWeatherByCity objects all N/A month houston_temp boston_temp N/A options terms N/A source N/A N/A N/A MonthlyWeatherSeattle objects all N/A N/A month_seattle month seattle_temp N/A cht N/A Chart datasource ds series_options N/A N/A options terms N/A type stacking line False N/A month month_seattle N/A boston_temp houston_temp N/A seattle_temp chart_options N/A title xAxis N/A text Weather by Month (from 2 different tables) N/A title N/A text Month number N/A N/A render_to_response chart_code.html N/A chart_list code title doc sidebar_items cht code title doc sidebar_items N/A add_source_code_and_doc multi_axes_and_types N/A N/A request title code doc sidebar_items N/A N/A N/A 
    Charts on multiple axes and multiple chart types
    -------------------------------------------------
    
    This example demonstrates how to plot data on different axes using 
    different chart types.
    
    Points to note:
    
    - You can plot data on different axes by setting the ``xAxis`` and 
      ``yAxis``.
    - The ``series_options`` - ``options`` dict takes any of the values from 
      `Highcharts series options <http://www.highcharts.com/ref/#series>`_.
    - If there are only 2 axes (0 and 1), the default behavior of Chartit is 
      to display them on opposite sides. You can override this default behavior
      by setting ``{"opposite": False}`` manually. If there are more than 
      2 axes, Chartit displays all of them on the same side by default.
     N/A ds N/A DataPool series N/A N/A options terms N/A source N/A N/A N/A MonthlyWeatherByCity objects all N/A month houston_temp boston_temp N/A cht N/A Chart datasource ds series_options N/A N/A options terms N/A type xAxis yAxis zIndex line 0 0 1 N/A month N/A boston_temp N/A options terms N/A type xAxis yAxis area 1 1 N/A month N/A houston_temp chart_options N/A title xAxis N/A text Weather Data by Month (on different axes) N/A title N/A text Month number N/A N/A render_to_response chart_code.html N/A chart_list code title doc sidebar_items cht code title doc sidebar_items N/A add_source_code_and_doc chart_default_options N/A N/A request title code doc sidebar_items N/A N/A N/A 
    Some default options explained
    -------------------------------
    
    Even though the ``chart_options`` are not specified, Chartit 
    automatically tries to guess the axis titles, chart titles etc.
    
    Points to note:
    
    - Notice how the axes are named, chart is named etc. by default.
     N/A ds N/A DataPool series N/A N/A options terms N/A source N/A N/A N/A MonthlyWeatherByCity objects all N/A month houston_temp boston_temp N/A options terms N/A source N/A N/A N/A MonthlyWeatherSeattle objects all N/A N/A month_seattle month seattle_temp N/A cht N/A Chart datasource ds series_options N/A N/A options terms N/A type stacking line False N/A month month_seattle N/A boston_temp houston_temp N/A seattle_temp N/A N/A render_to_response chart_code.html N/A chart_list code title doc sidebar_items cht code title doc sidebar_items N/A add_source_code_and_doc scatter_plot N/A N/A request title code doc sidebar_items N/A N/A N/A 
    Scatter Plot
    -------------
    
    The ``DailyWeather`` database has data by ``month``, ``day``, ``city`` and 
    ``temperature``. In this example we plot a scatter plot of temperature 
    of the city of Boston w.r.t month.
    
    Points to note:
    
    - Notice that the data is filtered naturally using ``filter`` method in 
      django. 
     
     N/A ds N/A DataPool series N/A N/A options terms N/A source N/A N/A N/A DailyWeather objects filter city Boston N/A month temperature N/A cht N/A Chart datasource ds series_options N/A N/A options terms N/A type scatter N/A month N/A temperature chart_options N/A title xAxis N/A text Boston weather scatter plot N/A title N/A text Month N/A N/A render_to_response chart_code.html N/A chart_list code title doc sidebar_items cht code title doc sidebar_items N/A add_source_code_and_doc combination_plot N/A N/A request title code doc sidebar_items N/A N/A N/A 
    Combination Plot
    -----------------
    
    We can do more complicated plots from multiple databases on the same chart.
    In this chart we plot a scatter plot of daily weather of Boston from the 
    ``DailyWeather`` database and the monthly average temperature of Boston as
    a from the ``MonthlyWeatherByCity`` database on the same chart.
    
    Points to note:
    
    - Notice that the data is filtered naturally using ``filter`` method in 
      django. 
    - The ``zIndex`` parameter (one of the many 
      `Highcharts series options <http://www.highcharts.com/ref/#series>`_) is 
      used to force the monthly temperature to be on the top.
     N/A ds N/A DataPool series N/A N/A options terms N/A source N/A N/A N/A DailyWeather objects filter city Boston N/A month temperature N/A options terms N/A source N/A N/A N/A MonthlyWeatherByCity objects all N/A N/A month_boston month boston_temp N/A cht N/A Chart datasource ds series_options N/A N/A options terms N/A type scatter N/A month N/A temperature N/A options terms N/A type zIndex scatter 1 N/A month_boston N/A boston_temp chart_options N/A title yAxis N/A text Boston Daily weather and Monthly Average N/A title N/A text Temperature N/A N/A render_to_response chart_code.html N/A chart_list code title doc sidebar_items cht code title doc sidebar_items N/A add_source_code_and_doc column_chart_multi_stack N/A N/A request title code doc sidebar_items N/A N/A N/A 
    Column Chart
    ------------------
    Column chart of temperatures of Boston and New York in one stack and the 
    temperature of Houston in another stack. 
    
    Points to note:
    
    - Notice that ``houston_temp`` shares all the other options with 
      ``boston_temp`` and ``new_york_temp``. So we override just the ``stack``
      parameter from the ``options`` for ``houston_temp`` by writing 
      ``{'houston_temp: {'stack': 1}}``. 
      
      We can also write ``series_options`` as ::
      
        series_options = [
               {'options':{
                  'type': 'column',
                  'stacking': True,
                  'stack': 0},
                'terms':{
                  'month': [
                    'boston_temp',
                    'new_york_temp']}},
                      
               {'options':{
                  'type': 'column',
                  'stacking': True,
                  'stack': 1},
                'terms':{
                  'month': [
                    'houston_temp']}
                    }]
        
      to plot this chart. But the form used in the code is much shorter and
      there is less duplication. 
        
    Note: This demo is to demonstrate the use of the API and not to teach 
    you data analysis and data presentation skills. Not all charts plotted 
    in this demo may make sense in real life applications. But they can 
    still be useful in demonstrating the API.
     N/A ds N/A DataPool series N/A N/A options terms N/A source N/A N/A N/A MonthlyWeatherByCity objects all N/A month houston_temp boston_temp new_york_temp N/A cht N/A Chart datasource ds series_options N/A N/A options terms N/A type stacking stack column True 0 N/A month N/A boston_temp new_york_temp N/A houston_temp N/A stack 1 chart_options N/A title xAxis N/A text Weather Data of Boston, New York and Houston N/A title N/A text Month number N/A N/A render_to_response chart_code.html N/A chart_list code title doc sidebar_items cht code title doc sidebar_items N/A add_source_code_and_doc column_chart N/A N/A request title code doc sidebar_items N/A N/A N/A 
    Column Chart
    ------------------
    Just a simple column chart of temperatures of Boston and Houston stacked 
    on top of each other.
    
    Points to note:
    
    - Any of the `Highcharts series options 
      <http://www.highcharts.com/ref/#series>`_ are valid options for the Chart
      ``series_options`` - ``options`` dict. In this case we set the 
      ``stacking`` parameter to ``True`` to stack the columns on the top of 
      each other.
    
    Note: This demo is to demonstrate the use of the API and not to teach 
    you data analysis and data presentation skills. Not all charts plotted 
    in this demo may make sense in real life applications. But they can 
    still be useful in demonstrating the API.
     N/A ds N/A DataPool series N/A N/A options terms N/A source N/A N/A N/A MonthlyWeatherByCity objects all N/A month houston_temp boston_temp N/A cht N/A Chart datasource ds series_options N/A N/A options terms N/A type stacking column True N/A month N/A boston_temp houston_temp chart_options N/A title xAxis N/A text Weather Data of Boston and Houston N/A title N/A text Month number N/A N/A render_to_response chart_code.html N/A chart_list code title doc sidebar_items cht code title doc sidebar_items N/A add_source_code_and_doc combination_line_pie N/A N/A request title code doc sidebar_items N/A N/A N/A 
    Combination of line and Pie charts
    -----------------------------------
    A combination of line and pie charts displayed on the same chart.
    
    Points to note:
    
    - ``center`` and ``size`` are used to center the pie chart and scale it 
      to fit in the chart. Remember that any of the `Highcharts series options 
      <http://www.highcharts.com/ref/#series>`_ are valid options for the Chart
      ``series_options`` - ``options`` dict. 

    Note: This demo is to demonstrate the use of the API and not to teach 
    you data analysis and data presentation skills. Not all charts plotted 
    in this demo may make sense in real life applications. But they can 
    still be useful in demonstrating the API.
     N/A ds N/A DataPool series N/A N/A options terms N/A source N/A N/A N/A MonthlyWeatherByCity objects all N/A month boston_temp houston_temp monthname N/A N/A month_num N/A N/A N/A names N/A 1 2 3 4 5 6 7 8 9 10 11 12 Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec N/A N/A names N/A month_num N/A N/A cht N/A Chart datasource ds series_options N/A N/A options terms N/A type line N/A month N/A boston_temp N/A options terms N/A type center size pie N/A 150 100 50% N/A month N/A houston_temp chart_options N/A title N/A text Weather Data of Boston (line) and Houston (pie) x_sortf_mapf_mts N/A N/A None monthname False N/A None monthname False N/A N/A render_to_response chart_code.html N/A chart_list code title doc sidebar_items cht code title doc sidebar_items N/A add_source_code_and_doc model_details N/A N/A request title code doc sidebar_items N/A N/A N/A 
    All the charts in this section are based on the following Models. The raw 
    data is available as a ``SQLite3`` database file  
    `here <../../static/db/chartitdemodb>`_. You can download the file and use 
    `SQLiteBrowser <http://sqlitebrowser.sourceforge.net/>`_ 
    to look at the raw data. 
     N/A fname N/A N/A N/A os path join N/A N/A N/A N/A os path split N/A N/A N/A os path abspath __file__ N/A 0 models.py N/A N/A open fname f N/A N/A code N/A N/A join N/A N/A f readlines N/A N/A render_to_response model_details.html N/A code title doc sidebar_items code title doc sidebar_items N/A add_source_code_and_doc