|
38 | 38 | "sphinx.ext.autosectionlabel", |
39 | 39 | "sphinx.ext.githubpages", |
40 | 40 | "sphinx.ext.viewcode", |
41 | | - # "sphinx_autodoc_typehints", |
42 | | - "auto_pytabs.sphinx_ext", |
43 | 41 | "tools.sphinx_ext.missing_references", |
44 | 42 | "tools.sphinx_ext.changelog", |
| 43 | + "sphinx_autodoc_typehints", |
| 44 | + "myst_parser", |
| 45 | + "auto_pytabs.sphinx_ext", |
45 | 46 | "sphinx_copybutton", |
46 | 47 | "sphinx.ext.todo", |
47 | 48 | "sphinx.ext.viewcode", |
|
134 | 135 | "CommonTableAttributes": "advanced_alchemy.base.CommonTableAttributes", |
135 | 136 | "AuditColumns": "advanced_alchemy.base.AuditColumns", |
136 | 137 | "UUIDPrimaryKey": "advanced_alchemy.base.UUIDPrimaryKey", |
| 138 | + "EngineConfig": "advanced_alchemy.config.EngineConfig", |
| 139 | + "AsyncSessionConfig": "advanced_alchemy.config.AsyncSessionConfig", |
| 140 | + "SyncSessionConfig": "advanced_alchemy.config.SyncSessionConfig", |
| 141 | + "EmptyType": "advanced_alchemy.utils.dataclass.EmptyType", |
| 142 | + "async_sessionmaker": "sqlalchemy.ext.asyncio.async_sessionmaker", |
| 143 | + "sessionmaker": "sqlalchemy.orm.sessionmaker", |
137 | 144 | } |
138 | 145 | autodoc_mock_imports = [ |
139 | 146 | "alembic", |
|
143 | 150 | "_sa.create_engine._sphinx_paramlinks_creator", |
144 | 151 | "sqlalchemy.Dialect", |
145 | 152 | "sqlalchemy.orm.MetaData", |
146 | | - "sqlalchemy.orm.strategy_options._AbstractLoad", |
147 | | - "sqlalchemy.sql.base.ExecutableOption", |
148 | | - "sqlalchemy.Connection.in_transaction", |
149 | | - "sqlalchemy.orm.attributes.InstrumentedAttribute", |
150 | | - "sqlalchemy.orm.decl_base._TableArgsType", |
151 | | - "sqlalchemy.orm.DeclarativeBase", |
152 | | - "litestar.dto.data_structures.DTOData", |
153 | | - "sqlalchemy.sql.schema._NamingSchemaParameter", |
154 | | - "sqlalchemy.sql.FromClause", |
| 153 | + # Add these new entries: |
| 154 | + "advanced_alchemy.config.engine.EngineConfig", |
| 155 | + "advanced_alchemy.config.asyncio.AsyncSessionConfig", |
| 156 | + "advanced_alchemy.config.sync.SyncSessionConfig", |
| 157 | + "advanced_alchemy.utils.dataclass.EmptyType", |
| 158 | + "advanced_alchemy.extensions.litestar.plugins.init.config.engine.EngineConfig", |
155 | 159 | ] |
156 | 160 |
|
157 | 161 |
|
|
170 | 174 | templates_path = ["_templates"] |
171 | 175 | html_js_files = ["versioning.js"] |
172 | 176 | html_css_files = ["custom.css"] |
173 | | -exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
| 177 | +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "PYPI_README.md"] |
174 | 178 | html_show_sourcelink = True |
175 | 179 | html_copy_source = True |
176 | 180 |
|
|
186 | 190 | "logo_target": "/", |
187 | 191 | "github_url": "https://github.com/litestar-org/advanced-alchemy", |
188 | 192 | "navigation_with_keys": True, |
189 | | - "globaltoc_expand_depth": 1, |
| 193 | + "globaltoc_expand_depth": 2, |
190 | 194 | "light_logo": "_static/logo-default.png", |
191 | 195 | "dark_logo": "_static/logo-default.png", |
192 | 196 | "discussion_url": "https://discord.gg/dSDXd4mKhp", |
193 | 197 | "nav_links": [ |
194 | 198 | {"title": "Home", "url": "index"}, |
195 | 199 | { |
196 | | - "title": "Community", |
| 200 | + "title": "About", |
197 | 201 | "children": [ |
| 202 | + { |
| 203 | + "title": "Changelog", |
| 204 | + "url": "changelog", |
| 205 | + "summary": "All changes for Advanced Alchemy", |
| 206 | + }, |
| 207 | + { |
| 208 | + "title": "Litestar Organization", |
| 209 | + "summary": "Details about the Litestar organization, the team behind Advanced Alchemy", |
| 210 | + "url": "https://litestar.dev/about/organization", |
| 211 | + "icon": "org", |
| 212 | + }, |
| 213 | + { |
| 214 | + "title": "Releases", |
| 215 | + "summary": "Explore the release process, versioning, and deprecation policy for Advanced Alchemy", |
| 216 | + "url": "releases", |
| 217 | + "icon": "releases", |
| 218 | + }, |
198 | 219 | { |
199 | 220 | "title": "Contributing", |
200 | 221 | "summary": "Learn how to contribute to the Advanced Alchemy project", |
|
213 | 234 | "url": "https://github.com/litestar-org/.github?tab=coc-ov-file#security-ov-file", |
214 | 235 | "icon": "coc", |
215 | 236 | }, |
216 | | - ], |
217 | | - }, |
218 | | - { |
219 | | - "title": "About", |
220 | | - "children": [ |
221 | | - { |
222 | | - "title": "Litestar Organization", |
223 | | - "summary": "Details about the Litestar organization, the team behind Advanced Alchemy", |
224 | | - "url": "https://litestar.dev/about/organization", |
225 | | - "icon": "org", |
226 | | - }, |
227 | | - { |
228 | | - "title": "Releases", |
229 | | - "summary": "Explore the release process, versioning, and deprecation policy for Advanced Alchemy", |
230 | | - "url": "releases", |
231 | | - "icon": "releases", |
232 | | - }, |
233 | | - ], |
234 | | - }, |
235 | | - { |
236 | | - "title": "Release notes", |
237 | | - "children": [ |
238 | | - { |
239 | | - "title": "Changelog", |
240 | | - "url": "changelog", |
241 | | - "summary": "All changes for Advanced Alchemy", |
242 | | - }, |
| 237 | + {"title": "Sponsor", "url": "https://github.com/sponsors/Litestar-Org", "icon": "heart"}, |
243 | 238 | ], |
244 | 239 | }, |
245 | 240 | { |
|
265 | 260 | }, |
266 | 261 | ], |
267 | 262 | }, |
268 | | - {"title": "Sponsor", "url": "https://github.com/sponsors/Litestar-Org", "icon": "heart"}, |
269 | 263 | ], |
270 | 264 | } |
271 | 265 |
|
|
0 commit comments