Re: sphinx inside

2020-05-03 Thread Kai Kobschätzki
thanks for your response! Greetings bengoshi On 5/2/20 12:46 AM, Motaz Hejaze wrote: > Inspect the generated sphinx html , load the static using django > > On Fri, 1 May 2020, 11:51 pm Michael Rohan, > wrote: > > Hi, > > I believe it's probably easiest to s

Re: sphinx inside

2020-05-01 Thread Motaz Hejaze
Inspect the generated sphinx html , load the static using django On Fri, 1 May 2020, 11:51 pm Michael Rohan, wrote: > Hi, > > I believe it's probably easiest to simply create the Sphinx html files in > one of the static directories (probably should add to the top level one if > you have one, or

Re: sphinx inside

2020-05-01 Thread Michael Rohan
Hi, I believe it's probably easiest to simply create the Sphinx html files in one of the static directories (probably should add to the top level one if you have one, or one of the apps if the docs are app specific) and just let the static file handling serve them. You could use whitenoise to

Re: sphinx inside

2020-05-01 Thread Kai Kobschätzki
I tried a path('docs/', TemplateView.as_view(template_name="docs/html/index.html")) then I can see the index.html but without css and no link works.. Greetings bengoshi On 5/1/20 4:25 PM, Motaz Hejaze wrote: > Make a view that returns a template only , and give it a url > > On Fri, 1 May 2020,

Re: sphinx inside

2020-05-01 Thread Motaz Hejaze
Make a view that returns a template only , and give it a url On Fri, 1 May 2020, 10:09 am Kai Kobschätzki, wrote: > Hi Amit, > > thanks for your response. But in this way, I can't use the sphinx > templates, the links are not correct and after every new make html (or > using sphinx-autobuild) I

Re: sphinx inside

2020-05-01 Thread Kai Kobschätzki
Hi Amit, thanks for your response. But in this way, I can't use the sphinx templates, the links are not correct and after every new make html (or using sphinx-autobuild) I have to copy the changed or new files. Are there no more likable way? Greetings bengoshi On 5/1/20 1:53 AM, Amit Gupta wrot

Re: sphinx inside

2020-04-30 Thread Amit Gupta
Hii If u want to just add your file in your django project u can probably copy and paste the file in your project file and after that you can successfully use your file in the project by just writing the name of your file with correct extension On Fri, 1 May, 2020, 1:29 AM Kai Kobschätzki, wrote

sphinx inside

2020-04-30 Thread Kai Kobschätzki
Hi, I installed sphinx and I get an documentation in project_main/docs/_build/html, starting with html/index.html. In so far - fine. Now I want to present this documents inside my project so I can see in the nav-bar a "doc" where I can see them. But I have no idea how to start it. I tried it with