@app.context_processor
def add_data_to_context():
    nav = get_nav()
    return {'nav': nav, 'data': site_data, 'site': {'pdf_url': app.config['PDF_URL'], 'forum_url': app.config['FORUM_URL'], 'site_github_url': app.config['SITE_GITHUB_URL'], 'data': site_data, 'text_using_gradle': app.config['TEXT_USING_GRADLE'], 'code_baseurl': app.config['CODE_URL'], 'contenteditable': build_contenteditable}, 'headerCurrentUrl': get_current_url(nav['subnav']['content'])}
@app.context_processor
def add_data_to_context():
    nav = get_nav()
    return {'nav': nav, 'data': site_data, 'site': {'pdf_url': app.config['PDF_URL'], 'forum_url': app.config['FORUM_URL'], 'site_github_url': app.config['SITE_GITHUB_URL'], 'data': site_data, 'text_using_gradle': app.config['TEXT_USING_GRADLE'], 'code_baseurl': app.config['CODE_URL'], 'contenteditable': build_contenteditable}, 'headerCurrentUrl': get_current_url(nav['subnav']['content'])}