mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
chore(dgeni): dgeni TS 1.8 patch cont.
This commit is contained in:
@ -19,8 +19,7 @@ module.exports = function jekyll(renderDocsProcessor) {
|
||||
docs.forEach(function(doc, i) {
|
||||
docs[i].URL = doc.outputPath.replace('docs/v2//','docs/v2/')
|
||||
.replace('/index.md','')
|
||||
.replace('//home/ubuntu/ionic/ionic', '')
|
||||
.replace('//', '');
|
||||
.replace('//home/ubuntu/ionic/ionic', '');
|
||||
});
|
||||
|
||||
docs.push({
|
||||
|
@ -1,4 +1,4 @@
|
||||
<@ for doc in docs @><@ if doc.URL and doc.private != true and doc.name @>
|
||||
<li class="capitalize {% if page.id == '<$ doc.name|lower|replace(' ','-') $>' %}active{% endif %}">
|
||||
<li class="capitalize {% if page.id == '<$ doc.name|lower|replace(' ','-')|replace('// ','/') $>' %}active{% endif %}">
|
||||
<a href="/<$ doc.URL $>"><$ doc.name $></a>
|
||||
</li><@ endif @><@ endfor @>
|
||||
|
Reference in New Issue
Block a user