Re: [OpenIndiana-discuss] mkdocs 1.4 op OpenIndiana

2022-10-02 Thread s...@pandora.be


What I tried in the oi-userland component Makefile of mkdocs, 
was to make some changes to rebuild (publish) this package, but I don't know 
enough of this,
to be able to do so unfortunately.

To me it looks like the documentation renders fine with the latest mkdocs 1.4.0 
and python 3.9.

But I am just looking at this from the user point of view.

If there are really reasons to stick with mkdocs 1.0.4 (as opposed to 1.4.0),
then it makes sense perhaps to still use an older version of Python instead of 
3.9.


- Op 2 okt 2022 om 17:13 schreef Marcel Telka mar...@telka.sk:

> On Sun, Oct 02, 2022 at 05:04:36PM +0200, s...@pandora.be wrote:
>> but the theme error can be solved by:
>> 
>> # pip install mkdocs-bootswatch
> 
> ...
> 
>> or somebody could try to package mkdocs for Python 3.9 in IPS oi-userland.
> 
> I'm working on it:
> https://openindiana.org/pipermail/oi-dev/2022-September/033266.html
> 
> I'll add both mkdocs and mkdocs-bootswatch.  Both at latest versions.
> 
> 
> Thanks.
> 
> --
> +---+
>| Marcel Telka   e-mail:   mar...@telka.sk  |
>|homepage: http://telka.sk/ |
> +---+
> 
> ___
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] mkdocs 1.4 op OpenIndiana

2022-10-02 Thread Aurélien Larcher
On Sun, Oct 2, 2022 at 5:13 PM Marcel Telka  wrote:

> On Sun, Oct 02, 2022 at 05:04:36PM +0200, s...@pandora.be wrote:
> > but the theme error can be solved by:
> >
> > # pip install mkdocs-bootswatch
>
> ...
>
> > or somebody could try to package mkdocs for Python 3.9 in IPS
> oi-userland.
>
> I'm working on it:
> https://openindiana.org/pipermail/oi-dev/2022-September/033266.html
>
> I'll add both mkdocs and mkdocs-bootswatch.  Both at latest versions.
>

Thanks, that's great :)
I recall that there was possibly a third package but not sure if that was
for an older theme.
When I packaged them there was a change in what was delivered in mkdocs,
they had split some themes so I do not remember very well...


>
> Thanks.
>
> --
> +---+
> | Marcel Telka   e-mail:   mar...@telka.sk  |
> |homepage: http://telka.sk/ |
> +---+
>
> ___
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
>


-- 
---
Praise the Caffeine embeddings
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] mkdocs 1.4 op OpenIndiana

2022-10-02 Thread Marcel Telka
On Sun, Oct 02, 2022 at 05:04:36PM +0200, s...@pandora.be wrote:
> but the theme error can be solved by:
> 
> # pip install mkdocs-bootswatch

...

> or somebody could try to package mkdocs for Python 3.9 in IPS oi-userland.

I'm working on it:
https://openindiana.org/pipermail/oi-dev/2022-September/033266.html

I'll add both mkdocs and mkdocs-bootswatch.  Both at latest versions.


Thanks.

-- 
+---+
| Marcel Telka   e-mail:   mar...@telka.sk  |
|homepage: http://telka.sk/ |
+---+

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] mkdocs 1.4 op OpenIndiana

2022-10-02 Thread s...@pandora.be


As a test, I ran mkdocs 1.4 (http://mkdocs.org) with python 3.9 on OpenIndiana 
and this seems to work with the OpenIndiana docs.

# pip install mkdocs
$ mkdocs serve -a 0.0.0.0:8000

ERROR-  Config value: 'theme'. Error: Unrecognised theme name: 'spacelab'.
The available installed themes are: mkdocs, readthedocs

but the theme error can be solved by:

# pip install mkdocs-bootswatch

that package provides various themes, also the 'spacelab' theme

this seems to work with python 3.9 , mkdocs 1.4 and mkdocs-bootswatch-1.1

So either install mkdocs+mkdocs-bootswatch using pip

$ python --version
Python 3.9.14

or somebody could try to package mkdocs for Python 3.9 in IPS oi-userland.

I tried to build the command but I don't know enough of Python or the IPS 
packaging,
and for me the "pip install" method seemed easier and that works.

Regards,
David Stes



___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss