<div dir="ltr"><div>Ok, scusatemi.</div><div>alla fine era un discorso di file .env</div><div><br></div><div>pardon.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mer 13 dic 2023 alle ore 16:51 Luca <<a href="mailto:luca800@gmail.com">luca800@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><p style="margin:0px 0px 1.2em">Salve a tutti,<br>Qualcuno di voi ha esperienza con mkdocs e mkdocstrings ?</p>
<p style="margin:0px 0px 1.2em">Ho visto che mkdocstrings usa <em>griffe</em> per recuperare informazioni sui moduli quindi ho provato con il comando</p>
<pre style="font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;white-space:pre-wrap;overflow:auto;border-radius:3px;border:1px solid rgb(204,204,204);display:block;padding:0.5em;color:rgb(51,51,51);background:rgb(248,248,248)">griffe dump -B -X <span>-s</span> . apps.updates.admin
</code></pre>
<p style="margin:0px 0px 1.2em">il che mi ritorna il JSON con le informazioni sul modulo come previsto.</p>
<p style="margin:0px 0px 1.2em">Il problema è che una volta inserito il riferimento nel file .md mi da l’errore.</p>
<pre style="font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;white-space:pre-wrap;overflow:auto;border-radius:3px;border:1px solid rgb(204,204,204);display:block;padding:0.5em;color:rgb(51,51,51);background:rgb(248,248,248)">::: apps.updates.admin
</code></pre>
<pre style="font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;white-space:pre-wrap;overflow:auto;border-radius:3px;border:1px solid rgb(204,204,204);display:block;padding:0.5em;color:rgb(51,51,51);background:rgb(248,248,248)">ERROR - mkdocstrings:
ERROR - Error reading page <span style="color:rgb(221,17,68)">'apps/updates/admin.md'</span>:
ERROR - Could not collect <span style="color:rgb(221,17,68)">'apps.updates.admin'</span>
</code></pre>
<p style="margin:0px 0px 1.2em">Io ho provato a forzare le paths nella configurazione</p>
<pre style="font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;white-space:pre-wrap;overflow:auto;border-radius:3px;border:1px solid rgb(204,204,204);display:block;padding:0.5em;color:rgb(51,51,51);background:rgb(248,248,248)"> - mkdocstrings:
default_handler: python
handlers:
python:
paths: [.]
</code></pre>
<p style="margin:0px 0px 1.2em">e debuggando il loader prende in carico la path… ma comunque mi da errore. </p>
<p style="margin:0px 0px 1.2em">il tree è questo </p>
<pre style="font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;background-color:rgb(248,248,248);white-space:pre-wrap;overflow:auto;border-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block">.
├── apps
│ └── updates
└── core
├── auth
├── database
│ └── manager
├── health
├── logging
├── middlewares
├── migrations
├── routing
└── utils
</code></pre><p style="margin:0px 0px 1.2em">dove sbaglio ?<br>torno a sphinx (che in realtà era la prima scelta)?</p>
<div title="MDH:U2FsdmUgYSB0dXR0aSw8YnI+UXVhbGN1bm8gZGkgdm9pIGhhIGVzcGVyaWVuemEgY29uIDxzcGFu
IHpldW00YzI9IlBSXzFfMCIgZGF0YS1kZG53YWI9IlBSXzFfMCIgYXJpYS1pbnZhbGlkPSJzcGVs
bGluZyIgY2xhc3M9IkxJIG5nIj5ta2RvY3M8L3NwYW4+IGUgPHNwYW4gemV1bTRjMj0iUF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B1dGlsczxicj5gYGA8YnI+PGJyPmRvdmUgc2JhZ2xpbyA/PGJyPnRvcm5vIGEg
c3BoaW54IChjaGUgaW4gcmVhbHTDoCBlcmEgbGEgcHJpbWEgc2NlbHRhKT88YnI+PGRpdj48L2Rp
dj4=" style="height:0px;width:0px;max-height:0px;max-width:0px;overflow:hidden;font-size:0em;padding:0px;margin:0px"></div></div><div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Luca</div></div></div></div></div>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Luca</div></div></div>