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}
|
Authentication and Authorisation {#DbaManualAuthentication}
|
||||||
===========================================================
|
===========================================================
|
||||||
|
|
||||||
|
@NAVIGATE_DbaManualAuthentication
|
||||||
@EMBEDTOC{DbaManualAuthenticationTOC}
|
@EMBEDTOC{DbaManualAuthenticationTOC}
|
||||||
|
|
||||||
Authentication and Authorisation {#DbaManualAuthenticationIntro}
|
Authentication and Authorisation {#DbaManualAuthenticationIntro}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
TOC {#DbaManualAuthenticationTOC}
|
TOC {#DbaManualAuthenticationTOC}
|
||||||
=================================
|
=================================
|
||||||
|
|
||||||
- @ref DbaManualAuthenticationIntro
|
- @ref DbaManualAuthentication
|
||||||
- @ref DbaManualAuthenticationCommandLine
|
- @ref DbaManualAuthenticationIntro
|
||||||
- @ref UserManagementIntro
|
- @ref DbaManualAuthenticationCommandLine
|
||||||
|
- @ref UserManagementIntro
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
Administrating ArangoDB {#DbaManualBasics}
|
Administrating ArangoDB {#DbaManualBasics}
|
||||||
==========================================
|
==========================================
|
||||||
|
|
||||||
|
@NAVIGATE_DbaManualBasics
|
||||||
@EMBEDTOC{DbaManualBasicsTOC}
|
@EMBEDTOC{DbaManualBasicsTOC}
|
||||||
|
|
||||||
Mostly Memory/Durability {#DbaManualBasicsDurability}
|
Mostly Memory/Durability {#DbaManualBasicsDurability}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
Datafile Debugger {#DbaManualDatafileDebugger}
|
Datafile Debugger {#DbaManualDatafileDebugger}
|
||||||
==============================================
|
==============================================
|
||||||
|
|
||||||
|
@NAVIGATE_DbaManualDatafileDebugger
|
||||||
@EMBEDTOC{DbaManualDatafileDebuggerTOC}
|
@EMBEDTOC{DbaManualDatafileDebuggerTOC}
|
||||||
|
|
||||||
In Case Of Disaster
|
In Case Of Disaster
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
Emergency Console {#DbaManualEmergencyConsole}
|
Emergency Console {#DbaManualEmergencyConsole}
|
||||||
==============================================
|
==============================================
|
||||||
|
|
||||||
|
@NAVIGATE_DbaManualEmergencyConsole
|
||||||
@EMBEDTOC{DbaManualEmergencyConsoleTOC}
|
@EMBEDTOC{DbaManualEmergencyConsoleTOC}
|
||||||
|
|
||||||
In Case Of Disaster
|
In Case Of Disaster
|
||||||
|
|
|
@ -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}
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue