Skip to content

Commit

Permalink
Fix deploying documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
davfsa committed Nov 29, 2020
1 parent 6c53b3a commit 957e274
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hikari/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ class PartialMessage(snowflakes.Unique):
referenced_message: undefined.UndefinedNoneOr[Message] = attr.ib(repr=False)
"""The message that was replied to.
If `type` is `MessageType.REPLY` and `hikari.undefined.Undefined`, Discord's
If `type` is `MessageType.REPLY` and `hikari.undefined.UNDEFINED`, Discord's
backend didn't attempt to fetch the message, so the status is unknown. If
`type` is `MessageType.REPLY` and `builtins.None`, the message was deleted.
"""
Expand Down
6 changes: 3 additions & 3 deletions scripts/deploy-pages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
git config user.name "davfsa"
git config user.email "[email protected]"

rm public -Rf || true
mkdir public
nox --sessions pdoc3 pages
cd public || exit 1

git init
git config user.name "davfsa"
git config user.email "[email protected]"

if [ -z ${CI+x} ]; then
git remote add origin [email protected]:hikari-py/hikari
Expand Down

0 comments on commit 957e274

Please sign in to comment.