Skip to content

Commit e02c517

Browse files
committed
Fix some documentation warnings errors
1 parent a76db16 commit e02c517

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

docs/source/index.rst

+3-4
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Each of the ``pwntools`` modules is documented here.
5252
context
5353
dynelf
5454
encoders
55-
elf/*
55+
elf
5656
exception
5757
filepointer
5858
filesystem
@@ -64,15 +64,14 @@ Each of the ``pwntools`` modules is documented here.
6464
memleak
6565
protocols
6666
qemu
67+
regsort
6768
replacements
68-
rop/*
69+
rop
6970
runner
7071
shellcraft
71-
shellcraft/*
7272
term
7373
timeout
7474
tubes
75-
tubes/*
7675
ui
7776
update
7877
useragents

docs/source/shellcraft/loongarch64.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
doctest_additional_flags = doctest.OPTIONFLAGS_BY_NAME['LINUX']
88

99
:mod:`pwnlib.shellcraft.loongarch64` --- Shellcode for LoongArch64
10-
==========================================================
10+
==================================================================
1111

1212
:mod:`pwnlib.shellcraft.loongarch64`
13-
--------------------------------
13+
------------------------------------
1414

1515
.. automodule:: pwnlib.shellcraft.loongarch64
1616
:members:
1717

1818
:mod:`pwnlib.shellcraft.loongarch64.linux`
19-
--------------------------------------
19+
------------------------------------------
2020

2121
.. automodule:: pwnlib.shellcraft.loongarch64.linux
2222
:members:

pwnlib/util/packing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ def flat(*args, **kwargs):
839839
b'aaaabaaacaaaAAAAeaaafaaaHello'
840840
841841
Dictionary usage permits directly using values derived from :func:`.cyclic`.
842-
See :func:`.cyclic`, :function:`pwnlib.context.context.cyclic_alphabet`, and :data:`.context.cyclic_size`
842+
See :func:`.cyclic`, :func:`pwnlib.context.context.cyclic_alphabet`, and :data:`.context.cyclic_size`
843843
for more options.
844844
845845
The cyclic pattern can be provided as either the text or hexadecimal offset.

0 commit comments

Comments
 (0)