From 559eaa2d033b45daea44b858c80edf930b408602 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Thu, 9 May 2019 14:37:02 +0200 Subject: [PATCH] Use lower-case names for pages --- .../{BadRequest.rst => bad-request.rst} | 0 docs/source/errors/{Flood.rst => flood.rst} | 0 .../errors/{Forbidden.rst => forbidden.rst} | 0 ...verError.rst => internal-server-error.rst} | 0 .../{NotAcceptable.rst => not-acceptable.rst} | 0 .../errors/{SeeOther.rst => see-other.rst} | 0 .../{Unauthorized.rst => unauthorized.rst} | 0 .../{UnknownError.rst => unknown-error.rst} | 0 docs/source/index.rst | 38 +++++++++---------- .../{Decorators.rst => decorators.rst} | 0 .../pyrogram/{Errors.rst => errors.rst} | 16 ++++---- .../pyrogram/{Filters.rst => filters.rst} | 0 .../pyrogram/{Handlers.rst => handlers.rst} | 0 docs/source/pyrogram/index.rst | 12 +++--- .../pyrogram/{Methods.rst => methods.rst} | 0 docs/source/pyrogram/{Types.rst => types.rst} | 0 .../{AdvancedUsage.rst => advanced-usage.rst} | 0 ...thorization.rst => auto-authorization.rst} | 0 ...tsInteraction.rst => bots-interaction.rst} | 0 .../{Changelog.rst => changelog.rst} | 0 ...urationFile.rst => configuration-file.rst} | 0 ...izeSessions.rst => customize-sessions.rst} | 0 .../{ErrorHandling.rst => error-handling.rst} | 0 ...{MoreOnUpdates.rst => more-on-updates.rst} | 0 .../{SmartPlugins.rst => smart-plugins.rst} | 0 .../{SOCKS5Proxy.rst => socks5-proxy.rst} | 0 .../{TestServers.rst => test-servers.rst} | 0 ...TextFormatting.rst => text-formatting.rst} | 0 .../resources/{TgCrypto.rst => tgcrypto.rst} | 0 ...UpdateHandling.rst => update-handling.rst} | 0 .../{UsingFilters.rst => using-filters.rst} | 0 .../{VoiceCalls.rst => voice-calls.rst} | 0 .../{Installation.rst => installation.rst} | 0 docs/source/start/{Setup.rst => setup.rst} | 0 docs/source/start/{Usage.rst => usage.rst} | 0 35 files changed, 33 insertions(+), 33 deletions(-) rename docs/source/errors/{BadRequest.rst => bad-request.rst} (100%) rename docs/source/errors/{Flood.rst => flood.rst} (100%) rename docs/source/errors/{Forbidden.rst => forbidden.rst} (100%) rename docs/source/errors/{InternalServerError.rst => internal-server-error.rst} (100%) rename docs/source/errors/{NotAcceptable.rst => not-acceptable.rst} (100%) rename docs/source/errors/{SeeOther.rst => see-other.rst} (100%) rename docs/source/errors/{Unauthorized.rst => unauthorized.rst} (100%) rename docs/source/errors/{UnknownError.rst => unknown-error.rst} (100%) rename docs/source/pyrogram/{Decorators.rst => decorators.rst} (100%) rename docs/source/pyrogram/{Errors.rst => errors.rst} (57%) rename docs/source/pyrogram/{Filters.rst => filters.rst} (100%) rename docs/source/pyrogram/{Handlers.rst => handlers.rst} (100%) rename docs/source/pyrogram/{Methods.rst => methods.rst} (100%) rename docs/source/pyrogram/{Types.rst => types.rst} (100%) rename docs/source/resources/{AdvancedUsage.rst => advanced-usage.rst} (100%) rename docs/source/resources/{AutoAuthorization.rst => auto-authorization.rst} (100%) rename docs/source/resources/{BotsInteraction.rst => bots-interaction.rst} (100%) rename docs/source/resources/{Changelog.rst => changelog.rst} (100%) rename docs/source/resources/{ConfigurationFile.rst => configuration-file.rst} (100%) rename docs/source/resources/{CustomizeSessions.rst => customize-sessions.rst} (100%) rename docs/source/resources/{ErrorHandling.rst => error-handling.rst} (100%) rename docs/source/resources/{MoreOnUpdates.rst => more-on-updates.rst} (100%) rename docs/source/resources/{SmartPlugins.rst => smart-plugins.rst} (100%) rename docs/source/resources/{SOCKS5Proxy.rst => socks5-proxy.rst} (100%) rename docs/source/resources/{TestServers.rst => test-servers.rst} (100%) rename docs/source/resources/{TextFormatting.rst => text-formatting.rst} (100%) rename docs/source/resources/{TgCrypto.rst => tgcrypto.rst} (100%) rename docs/source/resources/{UpdateHandling.rst => update-handling.rst} (100%) rename docs/source/resources/{UsingFilters.rst => using-filters.rst} (100%) rename docs/source/resources/{VoiceCalls.rst => voice-calls.rst} (100%) rename docs/source/start/{Installation.rst => installation.rst} (100%) rename docs/source/start/{Setup.rst => setup.rst} (100%) rename docs/source/start/{Usage.rst => usage.rst} (100%) diff --git a/docs/source/errors/BadRequest.rst b/docs/source/errors/bad-request.rst similarity index 100% rename from docs/source/errors/BadRequest.rst rename to docs/source/errors/bad-request.rst diff --git a/docs/source/errors/Flood.rst b/docs/source/errors/flood.rst similarity index 100% rename from docs/source/errors/Flood.rst rename to docs/source/errors/flood.rst diff --git a/docs/source/errors/Forbidden.rst b/docs/source/errors/forbidden.rst similarity index 100% rename from docs/source/errors/Forbidden.rst rename to docs/source/errors/forbidden.rst diff --git a/docs/source/errors/InternalServerError.rst b/docs/source/errors/internal-server-error.rst similarity index 100% rename from docs/source/errors/InternalServerError.rst rename to docs/source/errors/internal-server-error.rst diff --git a/docs/source/errors/NotAcceptable.rst b/docs/source/errors/not-acceptable.rst similarity index 100% rename from docs/source/errors/NotAcceptable.rst rename to docs/source/errors/not-acceptable.rst diff --git a/docs/source/errors/SeeOther.rst b/docs/source/errors/see-other.rst similarity index 100% rename from docs/source/errors/SeeOther.rst rename to docs/source/errors/see-other.rst diff --git a/docs/source/errors/Unauthorized.rst b/docs/source/errors/unauthorized.rst similarity index 100% rename from docs/source/errors/Unauthorized.rst rename to docs/source/errors/unauthorized.rst diff --git a/docs/source/errors/UnknownError.rst b/docs/source/errors/unknown-error.rst similarity index 100% rename from docs/source/errors/UnknownError.rst rename to docs/source/errors/unknown-error.rst diff --git a/docs/source/index.rst b/docs/source/index.rst index bd62547e..623c503e 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -77,30 +77,30 @@ To get started, press the Next button. :hidden: :caption: Quick Start - start/Installation - start/Setup - start/Usage + start/installation + start/setup + start/usage .. toctree:: :hidden: :caption: Resources - resources/UpdateHandling - resources/UsingFilters - resources/MoreOnUpdates - resources/ConfigurationFile - resources/SmartPlugins - resources/AutoAuthorization - resources/CustomizeSessions - resources/TgCrypto - resources/TextFormatting - resources/SOCKS5Proxy - resources/BotsInteraction - resources/ErrorHandling - resources/TestServers - resources/AdvancedUsage - resources/VoiceCalls - resources/Changelog + resources/update-handling + resources/using-filters + resources/more-on-updates + resources/configuration-file + resources/smart-plugins + resources/auto-authorization + resources/customize-sessions + resources/tgcrypto + resources/text-formatting + resources/socks5-proxy + resources/bots-interaction + resources/error-handling + resources/test-servers + resources/advanced-usage + resources/voice-calls + resources/changelog .. toctree:: :hidden: diff --git a/docs/source/pyrogram/Decorators.rst b/docs/source/pyrogram/decorators.rst similarity index 100% rename from docs/source/pyrogram/Decorators.rst rename to docs/source/pyrogram/decorators.rst diff --git a/docs/source/pyrogram/Errors.rst b/docs/source/pyrogram/errors.rst similarity index 57% rename from docs/source/pyrogram/Errors.rst rename to docs/source/pyrogram/errors.rst index 6c816a72..68313bdd 100644 --- a/docs/source/pyrogram/Errors.rst +++ b/docs/source/pyrogram/errors.rst @@ -18,11 +18,11 @@ All the Pyrogram errors listed here live inside the ``errors`` sub-package. :members: .. toctree:: - ../errors/SeeOther - ../errors/BadRequest - ../errors/Unauthorized - ../errors/Forbidden - ../errors/NotAcceptable - ../errors/Flood - ../errors/InternalServerError - ../errors/UnknownError + ../errors/see-other + ../errors/bad-request + ../errors/unauthorized + ../errors/forbidden + ../errors/not-acceptable + ../errors/flood + ../errors/internal-server-error + ../errors/unknown-error diff --git a/docs/source/pyrogram/Filters.rst b/docs/source/pyrogram/filters.rst similarity index 100% rename from docs/source/pyrogram/Filters.rst rename to docs/source/pyrogram/filters.rst diff --git a/docs/source/pyrogram/Handlers.rst b/docs/source/pyrogram/handlers.rst similarity index 100% rename from docs/source/pyrogram/Handlers.rst rename to docs/source/pyrogram/handlers.rst diff --git a/docs/source/pyrogram/index.rst b/docs/source/pyrogram/index.rst index 5546070d..3dc4227b 100644 --- a/docs/source/pyrogram/index.rst +++ b/docs/source/pyrogram/index.rst @@ -9,12 +9,12 @@ after the well established Telegram Bot API methods, thus offering a familiar lo .. toctree:: :maxdepth: 1 - Types - Methods - Handlers - Decorators - Filters - Errors + types + methods + handlers + decorators + filters + errors .. autoclass:: pyrogram.Client() diff --git a/docs/source/pyrogram/Methods.rst b/docs/source/pyrogram/methods.rst similarity index 100% rename from docs/source/pyrogram/Methods.rst rename to docs/source/pyrogram/methods.rst diff --git a/docs/source/pyrogram/Types.rst b/docs/source/pyrogram/types.rst similarity index 100% rename from docs/source/pyrogram/Types.rst rename to docs/source/pyrogram/types.rst diff --git a/docs/source/resources/AdvancedUsage.rst b/docs/source/resources/advanced-usage.rst similarity index 100% rename from docs/source/resources/AdvancedUsage.rst rename to docs/source/resources/advanced-usage.rst diff --git a/docs/source/resources/AutoAuthorization.rst b/docs/source/resources/auto-authorization.rst similarity index 100% rename from docs/source/resources/AutoAuthorization.rst rename to docs/source/resources/auto-authorization.rst diff --git a/docs/source/resources/BotsInteraction.rst b/docs/source/resources/bots-interaction.rst similarity index 100% rename from docs/source/resources/BotsInteraction.rst rename to docs/source/resources/bots-interaction.rst diff --git a/docs/source/resources/Changelog.rst b/docs/source/resources/changelog.rst similarity index 100% rename from docs/source/resources/Changelog.rst rename to docs/source/resources/changelog.rst diff --git a/docs/source/resources/ConfigurationFile.rst b/docs/source/resources/configuration-file.rst similarity index 100% rename from docs/source/resources/ConfigurationFile.rst rename to docs/source/resources/configuration-file.rst diff --git a/docs/source/resources/CustomizeSessions.rst b/docs/source/resources/customize-sessions.rst similarity index 100% rename from docs/source/resources/CustomizeSessions.rst rename to docs/source/resources/customize-sessions.rst diff --git a/docs/source/resources/ErrorHandling.rst b/docs/source/resources/error-handling.rst similarity index 100% rename from docs/source/resources/ErrorHandling.rst rename to docs/source/resources/error-handling.rst diff --git a/docs/source/resources/MoreOnUpdates.rst b/docs/source/resources/more-on-updates.rst similarity index 100% rename from docs/source/resources/MoreOnUpdates.rst rename to docs/source/resources/more-on-updates.rst diff --git a/docs/source/resources/SmartPlugins.rst b/docs/source/resources/smart-plugins.rst similarity index 100% rename from docs/source/resources/SmartPlugins.rst rename to docs/source/resources/smart-plugins.rst diff --git a/docs/source/resources/SOCKS5Proxy.rst b/docs/source/resources/socks5-proxy.rst similarity index 100% rename from docs/source/resources/SOCKS5Proxy.rst rename to docs/source/resources/socks5-proxy.rst diff --git a/docs/source/resources/TestServers.rst b/docs/source/resources/test-servers.rst similarity index 100% rename from docs/source/resources/TestServers.rst rename to docs/source/resources/test-servers.rst diff --git a/docs/source/resources/TextFormatting.rst b/docs/source/resources/text-formatting.rst similarity index 100% rename from docs/source/resources/TextFormatting.rst rename to docs/source/resources/text-formatting.rst diff --git a/docs/source/resources/TgCrypto.rst b/docs/source/resources/tgcrypto.rst similarity index 100% rename from docs/source/resources/TgCrypto.rst rename to docs/source/resources/tgcrypto.rst diff --git a/docs/source/resources/UpdateHandling.rst b/docs/source/resources/update-handling.rst similarity index 100% rename from docs/source/resources/UpdateHandling.rst rename to docs/source/resources/update-handling.rst diff --git a/docs/source/resources/UsingFilters.rst b/docs/source/resources/using-filters.rst similarity index 100% rename from docs/source/resources/UsingFilters.rst rename to docs/source/resources/using-filters.rst diff --git a/docs/source/resources/VoiceCalls.rst b/docs/source/resources/voice-calls.rst similarity index 100% rename from docs/source/resources/VoiceCalls.rst rename to docs/source/resources/voice-calls.rst diff --git a/docs/source/start/Installation.rst b/docs/source/start/installation.rst similarity index 100% rename from docs/source/start/Installation.rst rename to docs/source/start/installation.rst diff --git a/docs/source/start/Setup.rst b/docs/source/start/setup.rst similarity index 100% rename from docs/source/start/Setup.rst rename to docs/source/start/setup.rst diff --git a/docs/source/start/Usage.rst b/docs/source/start/usage.rst similarity index 100% rename from docs/source/start/Usage.rst rename to docs/source/start/usage.rst