mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
docs: create SUMMARY.md automatically
This commit is contained in:
parent
b2c7177106
commit
a3ca29b612
5 changed files with 66 additions and 161 deletions
1
docs/.gitignore
vendored
1
docs/.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
book
|
||||
src/utils
|
||||
src/SUMMARY.md
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
# Simple script to create the correct SUMMARY.md and other files
|
||||
# for the mdbook documentation.
|
||||
# Note: This will overwrite the existing files!
|
||||
|
||||
import os
|
||||
|
||||
with open('src/SUMMARY.md', 'w') as summary:
|
||||
summary.write("# Summary\n\n")
|
||||
summary.write("[Introduction](index.md)\n")
|
||||
summary.write("* [Contributing](contributing.md)\n")
|
||||
for d in sorted(os.listdir('../src/uu')):
|
||||
summary.write(f"* [{d}](utils/{d}.md)\n")
|
|
@ -1,108 +0,0 @@
|
|||
# Summary
|
||||
|
||||
[Introduction](index.md)
|
||||
* [Installation](installation.md)
|
||||
* [Contributing](contributing.md)
|
||||
|
||||
# Reference
|
||||
* [Multi-call binary](multicall.md)
|
||||
* [arch](utils/arch.md)
|
||||
* [base32](utils/base32.md)
|
||||
* [base64](utils/base64.md)
|
||||
* [basename](utils/basename.md)
|
||||
* [basenc](utils/basenc.md)
|
||||
* [cat](utils/cat.md)
|
||||
* [chcon](utils/chcon.md)
|
||||
* [chgrp](utils/chgrp.md)
|
||||
* [chmod](utils/chmod.md)
|
||||
* [chown](utils/chown.md)
|
||||
* [chroot](utils/chroot.md)
|
||||
* [cksum](utils/cksum.md)
|
||||
* [comm](utils/comm.md)
|
||||
* [cp](utils/cp.md)
|
||||
* [csplit](utils/csplit.md)
|
||||
* [cut](utils/cut.md)
|
||||
* [date](utils/date.md)
|
||||
* [dd](utils/dd.md)
|
||||
* [df](utils/df.md)
|
||||
* [dircolors](utils/dircolors.md)
|
||||
* [dirname](utils/dirname.md)
|
||||
* [du](utils/du.md)
|
||||
* [echo](utils/echo.md)
|
||||
* [env](utils/env.md)
|
||||
* [expand](utils/expand.md)
|
||||
* [expr](utils/expr.md)
|
||||
* [factor](utils/factor.md)
|
||||
* [false](utils/false.md)
|
||||
* [fmt](utils/fmt.md)
|
||||
* [fold](utils/fold.md)
|
||||
* [groups](utils/groups.md)
|
||||
* [hashsum](utils/hashsum.md)
|
||||
* [head](utils/head.md)
|
||||
* [hostid](utils/hostid.md)
|
||||
* [hostname](utils/hostname.md)
|
||||
* [id](utils/id.md)
|
||||
* [install](utils/install.md)
|
||||
* [join](utils/join.md)
|
||||
* [kill](utils/kill.md)
|
||||
* [link](utils/link.md)
|
||||
* [ln](utils/ln.md)
|
||||
* [logname](utils/logname.md)
|
||||
* [ls](utils/ls.md)
|
||||
* [mkdir](utils/mkdir.md)
|
||||
* [mkfifo](utils/mkfifo.md)
|
||||
* [mknod](utils/mknod.md)
|
||||
* [mktemp](utils/mktemp.md)
|
||||
* [more](utils/more.md)
|
||||
* [mv](utils/mv.md)
|
||||
* [nice](utils/nice.md)
|
||||
* [nl](utils/nl.md)
|
||||
* [nohup](utils/nohup.md)
|
||||
* [nproc](utils/nproc.md)
|
||||
* [numfmt](utils/numfmt.md)
|
||||
* [od](utils/od.md)
|
||||
* [paste](utils/paste.md)
|
||||
* [pathchk](utils/pathchk.md)
|
||||
* [pinky](utils/pinky.md)
|
||||
* [pr](utils/pr.md)
|
||||
* [printenv](utils/printenv.md)
|
||||
* [printf](utils/printf.md)
|
||||
* [ptx](utils/ptx.md)
|
||||
* [pwd](utils/pwd.md)
|
||||
* [readlink](utils/readlink.md)
|
||||
* [realpath](utils/realpath.md)
|
||||
* [relpath](utils/relpath.md)
|
||||
* [rm](utils/rm.md)
|
||||
* [rmdir](utils/rmdir.md)
|
||||
* [runcon](utils/runcon.md)
|
||||
* [seq](utils/seq.md)
|
||||
* [shred](utils/shred.md)
|
||||
* [shuf](utils/shuf.md)
|
||||
* [sleep](utils/sleep.md)
|
||||
* [sort](utils/sort.md)
|
||||
* [split](utils/split.md)
|
||||
* [stat](utils/stat.md)
|
||||
* [stdbuf](utils/stdbuf.md)
|
||||
* [sum](utils/sum.md)
|
||||
* [sync](utils/sync.md)
|
||||
* [tac](utils/tac.md)
|
||||
* [tail](utils/tail.md)
|
||||
* [tee](utils/tee.md)
|
||||
* [test](utils/test.md)
|
||||
* [timeout](utils/timeout.md)
|
||||
* [touch](utils/touch.md)
|
||||
* [tr](utils/tr.md)
|
||||
* [true](utils/true.md)
|
||||
* [truncate](utils/truncate.md)
|
||||
* [tsort](utils/tsort.md)
|
||||
* [tty](utils/tty.md)
|
||||
* [uname](utils/uname.md)
|
||||
* [unexpand](utils/unexpand.md)
|
||||
* [uniq](utils/uniq.md)
|
||||
* [unlink](utils/unlink.md)
|
||||
* [uptime](utils/uptime.md)
|
||||
* [users](utils/users.md)
|
||||
* [wc](utils/wc.md)
|
||||
* [who](utils/who.md)
|
||||
* [whoami](utils/whoami.md)
|
||||
* [yes](utils/yes.md)
|
5
docs/theme/head.hbs
vendored
5
docs/theme/head.hbs
vendored
|
@ -10,4 +10,7 @@
|
|||
top: 1em;
|
||||
right: 0;
|
||||
}
|
||||
</style>
|
||||
dd > p {
|
||||
margin-top: 0.2em;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue