mirror of https://gitee.com/bigwinds/arangodb
fixed pagenation
This commit is contained in:
parent
31c98704a0
commit
94a4965472
|
@ -1,6 +1,7 @@
|
|||
Authentication and Authorisation {#DbaManualAuthentication}
|
||||
===========================================================
|
||||
|
||||
@NAVIGATE_DbaManualAuthentication
|
||||
@EMBEDTOC{DbaManualAuthenticationTOC}
|
||||
|
||||
Authentication and Authorisation {#DbaManualAuthenticationIntro}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
TOC {#DbaManualAuthenticationTOC}
|
||||
=================================
|
||||
|
||||
- @ref DbaManualAuthenticationIntro
|
||||
- @ref DbaManualAuthenticationCommandLine
|
||||
- @ref UserManagementIntro
|
||||
- @ref DbaManualAuthentication
|
||||
- @ref DbaManualAuthenticationIntro
|
||||
- @ref DbaManualAuthenticationCommandLine
|
||||
- @ref UserManagementIntro
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
Administrating ArangoDB {#DbaManualBasics}
|
||||
==========================================
|
||||
|
||||
@NAVIGATE_DbaManualBasics
|
||||
@EMBEDTOC{DbaManualBasicsTOC}
|
||||
|
||||
Mostly Memory/Durability {#DbaManualBasicsDurability}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
Datafile Debugger {#DbaManualDatafileDebugger}
|
||||
==============================================
|
||||
|
||||
@NAVIGATE_DbaManualDatafileDebugger
|
||||
@EMBEDTOC{DbaManualDatafileDebuggerTOC}
|
||||
|
||||
In Case Of Disaster
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
Emergency Console {#DbaManualEmergencyConsole}
|
||||
==============================================
|
||||
|
||||
@NAVIGATE_DbaManualEmergencyConsole
|
||||
@EMBEDTOC{DbaManualEmergencyConsoleTOC}
|
||||
|
||||
In Case Of Disaster
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
BitArray Indexes {#IndexBitArray}
|
||||
=================================
|
||||
|
||||
@NAVIGATE_IndexBitArray
|
||||
@EMBEDTOC{IndexBitArrayTOC}
|
||||
|
||||
Introduction to Bit-Array Indexes {#IndexBitArrayIntro}
|
||||
|
|
|
@ -90,7 +90,7 @@ for filename in argv:
|
|||
|
||||
f.close()
|
||||
|
||||
def generate(l):
|
||||
def generate(l, h):
|
||||
for i in range(0,len(l)):
|
||||
entry = l[i]
|
||||
prev = ""
|
||||
|
@ -106,6 +106,13 @@ def generate(l):
|
|||
if entry in homes:
|
||||
home = homes[entry]
|
||||
|
||||
if h:
|
||||
if prev != "" and home != homes[prev]:
|
||||
prev = ""
|
||||
|
||||
if next != "" and home != homes[next]:
|
||||
next = ""
|
||||
|
||||
if prev == "":
|
||||
print 'ALIASES += "NAVIGATE_%s=@NAVIGATE_FIRST{%s,%s}"' % (entry,home,next)
|
||||
elif next == "":
|
||||
|
@ -113,5 +120,5 @@ def generate(l):
|
|||
else:
|
||||
print 'ALIASES += "NAVIGATE_%s=@NAVIGATE{%s,%s,%s}"' % (entry,prev,home,next)
|
||||
|
||||
generate(books)
|
||||
generate(chapters)
|
||||
generate(books, None)
|
||||
generate(chapters, homes)
|
||||
|
|
Loading…
Reference in New Issue