From: Mike Bayer Date: Thu, 18 Aug 2022 17:56:50 +0000 (-0400) Subject: set old declarative docs as orphan X-Git-Tag: rel_1_4_41~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8237ba234d672c264ed12924c06efd5351903ab4;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git set old declarative docs as orphan these otherwise show up in the sidebar where they are confusing Change-Id: Ic7bdcd31207a135e2805241928ca2379a8189565 (cherry picked from commit e2e412f6a3354682ab792f3f9eefc537207a44b4) --- diff --git a/doc/build/orm/extensions/declarative/api.rst b/doc/build/orm/extensions/declarative/api.rst index e41e735d37..98924c2e27 100644 --- a/doc/build/orm/extensions/declarative/api.rst +++ b/doc/build/orm/extensions/declarative/api.rst @@ -1,3 +1,5 @@ +:orphan: + .. automodule:: sqlalchemy.ext.declarative =============== diff --git a/doc/build/orm/extensions/declarative/basic_use.rst b/doc/build/orm/extensions/declarative/basic_use.rst index f1ce1d4a02..49903559d5 100644 --- a/doc/build/orm/extensions/declarative/basic_use.rst +++ b/doc/build/orm/extensions/declarative/basic_use.rst @@ -1,3 +1,5 @@ +:orphan: + ========= Basic Use ========= @@ -20,11 +22,7 @@ This section has moved to :ref:`orm_declarative_metadata`. Class Constructor ================= -As a convenience feature, the :func:`declarative_base` sets a default -constructor on classes which takes keyword arguments, and assigns them -to the named attributes:: - - e = Engineer(primary_language='python') +This section has moved to :ref:`orm_mapper_configuration_overview`. Mapper Configuration ==================== diff --git a/doc/build/orm/extensions/declarative/index.rst b/doc/build/orm/extensions/declarative/index.rst index 7ef2551c61..6cf1a60a1c 100644 --- a/doc/build/orm/extensions/declarative/index.rst +++ b/doc/build/orm/extensions/declarative/index.rst @@ -22,15 +22,3 @@ mapping API. .. autoclass:: DeferredReflection :members: -.. these pages have all been integrated into the main ORM documentation - however are still here as placeholder docs with links to where they've moved - -.. toctree:: - :hidden: - - api - basic_use - inheritance - mixins - relationships - table_config \ No newline at end of file diff --git a/doc/build/orm/extensions/declarative/inheritance.rst b/doc/build/orm/extensions/declarative/inheritance.rst index d65cafd355..849664a3c3 100644 --- a/doc/build/orm/extensions/declarative/inheritance.rst +++ b/doc/build/orm/extensions/declarative/inheritance.rst @@ -1,3 +1,5 @@ +:orphan: + .. _declarative_inheritance: Declarative Inheritance diff --git a/doc/build/orm/extensions/declarative/mixins.rst b/doc/build/orm/extensions/declarative/mixins.rst index 221e8f8f8c..cde4c12bd1 100644 --- a/doc/build/orm/extensions/declarative/mixins.rst +++ b/doc/build/orm/extensions/declarative/mixins.rst @@ -1,3 +1,5 @@ +:orphan: + .. _declarative_mixins: Mixin and Custom Base Classes diff --git a/doc/build/orm/extensions/declarative/relationships.rst b/doc/build/orm/extensions/declarative/relationships.rst index c5c83b1711..c0df8b49cf 100644 --- a/doc/build/orm/extensions/declarative/relationships.rst +++ b/doc/build/orm/extensions/declarative/relationships.rst @@ -1,3 +1,5 @@ +:orphan: + .. _declarative_configuring_relationships: ========================= diff --git a/doc/build/orm/extensions/declarative/table_config.rst b/doc/build/orm/extensions/declarative/table_config.rst index d51fb1831d..05ad46d6cc 100644 --- a/doc/build/orm/extensions/declarative/table_config.rst +++ b/doc/build/orm/extensions/declarative/table_config.rst @@ -1,3 +1,5 @@ +:orphan: + .. _declarative_table_args: ===================