Skip to content

Commit

Permalink
Correct link in header doc
Browse files Browse the repository at this point in the history
  • Loading branch information
twidi committed Jun 29, 2018
1 parent 06bb789 commit 070ec2e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api_doc/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def render(self, context):
{self.h_title}
</if>
<else>
<a href="/" title="Back to documentation index">MIXT documentation</a>: {self.title}
<a href="index.html" title="Back to documentation index">MIXT documentation</a>: {self.title}
</else>
</H>
<MainMenuCollector ref={menu_ref}>
Expand Down
2 changes: 1 addition & 1 deletion docs/api.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/user-guide.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html><html lang="en"><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><title>User guide - MIXT documentation (version 1.0)</title><link rel="stylesheet" type="text/css" href="typeset.css" /><link rel="stylesheet" type="text/css" href="global.css" /><style type="text/css"></style><body><nav id="main-menu" class="menu"><p><a href="#top">Table of content</a></p><ul><li><a href="#start" class="menu-rst-section">Start</a></li><li><a href="#spacing" class="menu-rst-section">Spacing</a></li><li><details><summary><a href="#props" class="menu-rst-section">Props</a></summary><ul><li><a href="#props_proptypes-class" class="menu-rst-section">PropTypes class</a></li><li><a href="#props_props-and-children" class="menu-rst-section">Props and children</a></li><li><a href="#props_passing-props" class="menu-rst-section">Passing props</a></li><li><details><summary><a href="#props_validation" class="menu-rst-section">Validation</a></summary><ul><li><a href="#props_validation_numbers" class="menu-rst-section">Numbers</a></li><li><a href="#props_validation_booleans-and-other-special-cases" class="menu-rst-section">Booleans and other special cases</a></li></ul></details></li><li><a href="#props_required-props" class="menu-rst-section">Required props</a></li><li><a href="#props_default-props" class="menu-rst-section">Default props</a></li><li><a href="#props_choices" class="menu-rst-section">Choices</a></li><li><a href="#props_default-choices" class="menu-rst-section">Default choices</a></li><li><a href="#props_advanced-types" class="menu-rst-section">Advanced types</a></li></ul></details></li><li><a href="#dev-mode" class="menu-rst-section">dev-mode</a></li><li><a href="#components-cascade" class="menu-rst-section">Components cascade</a></li><li><details><summary><a href="#overriding-a-component" class="menu-rst-section">Overriding a component</a></summary><ul><li><a href="#overriding-a-component_inheritance" class="menu-rst-section">Inheritance</a></li><li><a href="#overriding-a-component_parent-components" class="menu-rst-section">Parent components</a></li><li><a href="#overriding-a-component_proptypes-dryness" class="menu-rst-section">PropTypes DRYness</a></li><li><a href="#overriding-a-component_function" class="menu-rst-section">Function</a></li><li><a href="#overriding-a-component_higher-order-components" class="menu-rst-section">Higher-order components</a></li></ul></details></li><li><a href="#context" class="menu-rst-section">Context</a></li><li><details><summary><a href="#style-and-javascript" class="menu-rst-section">Style and Javascript</a></summary><ul><li><details><summary><a href="#style-and-javascript_collectors" class="menu-rst-section">Collectors</a></summary><ul><li><a href="#style-and-javascript_collectors_collector-collect" class="menu-rst-section">Collector.Collect</a></li><li><a href="#style-and-javascript_collectors_render-js-css-methods" class="menu-rst-section">render_[js|css] methods</a></li><li><a href="#style-and-javascript_collectors_render-js-css-global-methods" class="menu-rst-section">render_[js|css]_global methods</a></li><li><a href="#style-and-javascript_collectors_references" class="menu-rst-section">references</a></li></ul></details></li></ul></details></li><li><a href="#user-guide-conclusion" class="menu-rst-section">User guide conclusion</a></li><li><a href="#next" class="menu-rst-section">Next</a></li></ul></nav><main><h1 class="h"><a href="/" title="Back to documentation index">MIXT documentation</a>: User guide</h1><div class="doc"><div class="manual"><p><p>This user-guide will introduce you through the whole set of features provided by Mixt, step by step.
<!DOCTYPE html><html lang="en"><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><title>User guide - MIXT documentation (version 1.0)</title><link rel="stylesheet" type="text/css" href="typeset.css" /><link rel="stylesheet" type="text/css" href="global.css" /><style type="text/css"></style><body><nav id="main-menu" class="menu"><p><a href="#top">Table of content</a></p><ul><li><a href="#start" class="menu-rst-section">Start</a></li><li><a href="#spacing" class="menu-rst-section">Spacing</a></li><li><details><summary><a href="#props" class="menu-rst-section">Props</a></summary><ul><li><a href="#props_proptypes-class" class="menu-rst-section">PropTypes class</a></li><li><a href="#props_props-and-children" class="menu-rst-section">Props and children</a></li><li><a href="#props_passing-props" class="menu-rst-section">Passing props</a></li><li><details><summary><a href="#props_validation" class="menu-rst-section">Validation</a></summary><ul><li><a href="#props_validation_numbers" class="menu-rst-section">Numbers</a></li><li><a href="#props_validation_booleans-and-other-special-cases" class="menu-rst-section">Booleans and other special cases</a></li></ul></details></li><li><a href="#props_required-props" class="menu-rst-section">Required props</a></li><li><a href="#props_default-props" class="menu-rst-section">Default props</a></li><li><a href="#props_choices" class="menu-rst-section">Choices</a></li><li><a href="#props_default-choices" class="menu-rst-section">Default choices</a></li><li><a href="#props_advanced-types" class="menu-rst-section">Advanced types</a></li></ul></details></li><li><a href="#dev-mode" class="menu-rst-section">dev-mode</a></li><li><a href="#components-cascade" class="menu-rst-section">Components cascade</a></li><li><details><summary><a href="#overriding-a-component" class="menu-rst-section">Overriding a component</a></summary><ul><li><a href="#overriding-a-component_inheritance" class="menu-rst-section">Inheritance</a></li><li><a href="#overriding-a-component_parent-components" class="menu-rst-section">Parent components</a></li><li><a href="#overriding-a-component_proptypes-dryness" class="menu-rst-section">PropTypes DRYness</a></li><li><a href="#overriding-a-component_function" class="menu-rst-section">Function</a></li><li><a href="#overriding-a-component_higher-order-components" class="menu-rst-section">Higher-order components</a></li></ul></details></li><li><a href="#context" class="menu-rst-section">Context</a></li><li><details><summary><a href="#style-and-javascript" class="menu-rst-section">Style and Javascript</a></summary><ul><li><details><summary><a href="#style-and-javascript_collectors" class="menu-rst-section">Collectors</a></summary><ul><li><a href="#style-and-javascript_collectors_collector-collect" class="menu-rst-section">Collector.Collect</a></li><li><a href="#style-and-javascript_collectors_render-js-css-methods" class="menu-rst-section">render_[js|css] methods</a></li><li><a href="#style-and-javascript_collectors_render-js-css-global-methods" class="menu-rst-section">render_[js|css]_global methods</a></li><li><a href="#style-and-javascript_collectors_references" class="menu-rst-section">references</a></li></ul></details></li></ul></details></li><li><a href="#user-guide-conclusion" class="menu-rst-section">User guide conclusion</a></li><li><a href="#next" class="menu-rst-section">Next</a></li></ul></nav><main><h1 class="h"><a href="index.html" title="Back to documentation index">MIXT documentation</a>: User guide</h1><div class="doc"><div class="manual"><p><p>This user-guide will introduce you through the whole set of features provided by Mixt, step by step.
</p>Note: You can find the <em>final</em> code of this user guide in <code>src/mixt/examples/user_guide</code> (you'll find <code>mixt.py</code> and <code>pure_python.py</code>).</p><p>Run it with:</p><div class="code"><pre><span></span>python -m mixt.examples.user_guide
</pre></div>
<details id="start" class="doc-part rst-section" tabindex="-1" open><summary><h2 class="h">Start</h2><a class="permalink" href="#start" title="Permalink to here"></a></summary><div class="content"><p>Let's create a... todo list, yeah!</p><p>But before, remember. This is not React, it's not on the browser and there is no Javascript involved here. We only talk about rendering some HTML.</p><p>But you can do what you want with it. Add javascript handlers, simple forms...</p><p>Talking about forms...</p><p>In a todo list, we want to be able to add a todo. It's a simple text input.</p><p>So let's create our first component, the <code>TodoForm</code>. We want a form with an input text and a button.</p><p>A component is a subclass of the <code>Element</code> class, with a <code>render</code> method you have to write.</p><div class="code"><pre><span></span><span class="c1"># coding: mixt</span>
Expand Down

0 comments on commit 070ec2e

Please sign in to comment.