Add developer guide.

This commit is contained in:
Péter Szilágyi 2016-11-22 10:35:56 +02:00
parent 2df5ead8f4
commit e35386fb03
No known key found for this signature in database
GPG Key ID: 119A76381CCB7DD2
1 changed files with 5 additions and 5 deletions

View File

@ -43,9 +43,9 @@
</div> </div>
</nav> </nav>
<div class="container" style="padding-top: 48px; padding-bottom: 48px;"> <div class="container" style="padding-top: 24px;">
<div class="row"> <div class="row">
<div class="col-md-3" id="toc"></div> <div class="col-md-3" id="toc" style="padding-top: 16px;"></div>
<div class="col-md-9" id="content"></div> <div class="col-md-9" id="content"></div>
</div> </div>
<hr/> <hr/>
@ -57,7 +57,7 @@
<script type="text/javascript"> <script type="text/javascript">
// Download the go-ethereum wiki sidebar and convert it into a guide sidebar // Download the go-ethereum wiki sidebar and convert it into a guide sidebar
$.ajax({ $.ajax({
url: 'https://raw.githubusercontent.com/wiki/ethereum/go-ethereum/_Sidebar.md', url: 'https://raw.githubusercontent.com/wiki/ethereum/go-ethereum/Developer-Guide.md',
error: function() { error: function() {
alert("Failed to load latest release!"); alert("Failed to load latest release!");
}, },
@ -118,13 +118,13 @@
<script type="text/javascript"> <script type="text/javascript">
// Download the primary page content of the guide // Download the primary page content of the guide
$.ajax({ $.ajax({
url: 'https://raw.githubusercontent.com/wiki/ethereum/go-ethereum/Frontier.md', url: 'https://raw.githubusercontent.com/wiki/ethereum/go-ethereum/Mobile:-Introduction.md',
error: function() { error: function() {
alert("Failed to load latest release!"); alert("Failed to load latest release!");
}, },
dataType: 'text', dataType: 'text',
success: function(data) { success: function(data) {
$('#content').html(marked(data)); $('#content').html("<h1>Mobile platforms: Introduction</h1>" + marked(data));
emojify.setConfig({img_dir: '../static/images/emoji'}); emojify.setConfig({img_dir: '../static/images/emoji'});
emojify.run(document.getElementById('content')); emojify.run(document.getElementById('content'));
} }