On Thursday, 26 December 2024 at 14:44:56 UTC+1 Waldek Hebisch wrote:

On Thu, Dec 26, 2024 at 03:01:58AM -0800, Kurt Pagani wrote: 
> I took the liberty to upload the output temporarily to 
> https://nilqed.github.io/api2/ for better reviewing. 
> If you would insert a line like (in or before <head>) 
> <link rel="stylesheet" href="styles.css"> 
> in each html file, then everyone could change the appearance with just 
one 
> css file. 

Sure, I have put modified "api2.spad" at the same place, that is 

http://wiki.fricas.org/public/api2.spad 


Thank you, works fine. 
 

> I made an example (no aesthetic claims, just for demo ;-): 
> https://nilqed.github.io/api2/AlgebraGivenByStructuralConstants.html 
> with styles.css: 
> https://nilqed.github.io/api2/styles.css 
> 
> In lynx, w3m or links it doesn't really makes a difference, however, when 
> viewing online (e.g. firefox) then it is IMO a relief when the underlined 
> links are gone ... 

Yes, I looked at what we need: 

- title ??? 
- header 
- <code> blocks 
- references to constructors and functions 
- function/operator names 

Maybe we want to distinguish text from doctrings (but almost all 
actual text is from doctrings) or conditions on operations/categories. 


Now, no or an empty "styles.css" will display default html. Who wants to 
change the appearance can now do so by editing the "styles.css".
Since I have only rudimentary knowledge about CSS (from 
https://www.w3schools.com/Css/), I couldn't say what is possible ...   
 

Now, no or an empty "styles.css" will display default html. 


AFAICS Sphinx style uses changed font (bigger and different shape) and 
colour for header, changed font (look like sanserif font) and colour 
for references to constructors and functions, light gray colour 
(and possibly changed font) for <code> blocks and changed font 
(also sanserif) and colour (red) for function/operator names. 


https://www.sphinx-doc.org/en/master/usage/theming.html

There are so many sphinx themes -- https://sphinx-themes.org/ -- really 
head spinning.


 

-- 
Waldek Hebisch 

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fricas-devel+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/fricas-devel/e33cdb53-64a6-4923-8126-55784bd964aan%40googlegroups.com.

Reply via email to