1
0
Fork 0

fixed pagenation

This commit is contained in:
Frank Celler 2013-02-10 16:41:44 +01:00
parent 31c98704a0
commit 94a4965472
7 changed files with 19 additions and 6 deletions

View File

@ -1,6 +1,7 @@
Authentication and Authorisation {#DbaManualAuthentication} Authentication and Authorisation {#DbaManualAuthentication}
=========================================================== ===========================================================
@NAVIGATE_DbaManualAuthentication
@EMBEDTOC{DbaManualAuthenticationTOC} @EMBEDTOC{DbaManualAuthenticationTOC}
Authentication and Authorisation {#DbaManualAuthenticationIntro} Authentication and Authorisation {#DbaManualAuthenticationIntro}

View File

@ -1,6 +1,7 @@
TOC {#DbaManualAuthenticationTOC} TOC {#DbaManualAuthenticationTOC}
================================= =================================
- @ref DbaManualAuthenticationIntro - @ref DbaManualAuthentication
- @ref DbaManualAuthenticationCommandLine - @ref DbaManualAuthenticationIntro
- @ref UserManagementIntro - @ref DbaManualAuthenticationCommandLine
- @ref UserManagementIntro

View File

@ -1,6 +1,7 @@
Administrating ArangoDB {#DbaManualBasics} Administrating ArangoDB {#DbaManualBasics}
========================================== ==========================================
@NAVIGATE_DbaManualBasics
@EMBEDTOC{DbaManualBasicsTOC} @EMBEDTOC{DbaManualBasicsTOC}
Mostly Memory/Durability {#DbaManualBasicsDurability} Mostly Memory/Durability {#DbaManualBasicsDurability}

View File

@ -1,6 +1,7 @@
Datafile Debugger {#DbaManualDatafileDebugger} Datafile Debugger {#DbaManualDatafileDebugger}
============================================== ==============================================
@NAVIGATE_DbaManualDatafileDebugger
@EMBEDTOC{DbaManualDatafileDebuggerTOC} @EMBEDTOC{DbaManualDatafileDebuggerTOC}
In Case Of Disaster In Case Of Disaster

View File

@ -1,6 +1,7 @@
Emergency Console {#DbaManualEmergencyConsole} Emergency Console {#DbaManualEmergencyConsole}
============================================== ==============================================
@NAVIGATE_DbaManualEmergencyConsole
@EMBEDTOC{DbaManualEmergencyConsoleTOC} @EMBEDTOC{DbaManualEmergencyConsoleTOC}
In Case Of Disaster In Case Of Disaster

View File

@ -1,6 +1,7 @@
BitArray Indexes {#IndexBitArray} BitArray Indexes {#IndexBitArray}
================================= =================================
@NAVIGATE_IndexBitArray
@EMBEDTOC{IndexBitArrayTOC} @EMBEDTOC{IndexBitArrayTOC}
Introduction to Bit-Array Indexes {#IndexBitArrayIntro} Introduction to Bit-Array Indexes {#IndexBitArrayIntro}

View File

@ -90,7 +90,7 @@ for filename in argv:
f.close() f.close()
def generate(l): def generate(l, h):
for i in range(0,len(l)): for i in range(0,len(l)):
entry = l[i] entry = l[i]
prev = "" prev = ""
@ -106,6 +106,13 @@ def generate(l):
if entry in homes: if entry in homes:
home = homes[entry] home = homes[entry]
if h:
if prev != "" and home != homes[prev]:
prev = ""
if next != "" and home != homes[next]:
next = ""
if prev == "": if prev == "":
print 'ALIASES += "NAVIGATE_%s=@NAVIGATE_FIRST{%s,%s}"' % (entry,home,next) print 'ALIASES += "NAVIGATE_%s=@NAVIGATE_FIRST{%s,%s}"' % (entry,home,next)
elif next == "": elif next == "":
@ -113,5 +120,5 @@ def generate(l):
else: else:
print 'ALIASES += "NAVIGATE_%s=@NAVIGATE{%s,%s,%s}"' % (entry,prev,home,next) print 'ALIASES += "NAVIGATE_%s=@NAVIGATE{%s,%s,%s}"' % (entry,prev,home,next)
generate(books) generate(books, None)
generate(chapters) generate(chapters, homes)