mirror of
https://github.com/revarbat/snappy-reprap.git
synced 2025-11-02 15:46:45 -08:00
Fixed v1.5 Assembly docs image links.
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
import re
|
||||
import sys
|
||||
|
||||
snappy_ver = "v1.5"
|
||||
|
||||
html_header_string = """\
|
||||
<html>
|
||||
<head>
|
||||
@@ -57,7 +59,7 @@ UL {
|
||||
|
||||
class GenAssemblyIndex(object):
|
||||
indexfile = "docs/assembly/index.html"
|
||||
markdownfile = "wiki/v1.5-Assembly.md"
|
||||
markdownfile = "wiki/%s-Assembly.md" % snappy_ver
|
||||
sourcefile = "full_assembly.scad"
|
||||
modules = []
|
||||
modinfo = {}
|
||||
@@ -116,7 +118,8 @@ class GenAssemblyIndex(object):
|
||||
for stepinfo in self.modinfo[mod_eng]:
|
||||
stepinfo['base'] = \
|
||||
'https://raw.githubusercontent.com/' \
|
||||
'revarbat/snappy-reprap/master/docs/assembly/'
|
||||
'revarbat/snappy-reprap/%s/docs/assembly/' % \
|
||||
snappy_ver
|
||||
|
||||
if stepcnt > 1:
|
||||
f.write('### Step {step}\n\n'.format(**stepinfo))
|
||||
|
||||
2
wiki
2
wiki
Submodule wiki updated: 0441314d8f...85cb4174e1
Reference in New Issue
Block a user