Skip to content
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

docs: add usage documentation #701

Closed
wants to merge 20 commits into from
Closed

docs: add usage documentation #701

wants to merge 20 commits into from

Conversation

0xMRTT
Copy link
Member

@0xMRTT 0xMRTT commented Jan 13, 2023

Description

Not much to say here, we just need to create a user documentation to unclutter our repository README, and to give users more info on some features.

Fixes #699

Type of change

  • Bugfix (Change which fixes a issue)
  • New feature (Change which adds new functionality)
  • Enhancement (Change which slightly improves existing code)
  • Breaking change (This change will introduce incompatibility with existing functionality)

Changelog

  • Added user guide

Testing

  • I have tested my changes and verified that they work as expected

@0xMRTT 0xMRTT added the area/documentation Improvements or additions to documentation label Jan 13, 2023
@0xMRTT 0xMRTT requested review from tfuxu and daudix January 13, 2023 17:42
@0xMRTT 0xMRTT self-assigned this Jan 13, 2023
@0xMRTT
Copy link
Member Author

0xMRTT commented Jan 13, 2023

image

I choosed to use the RtD theme

@0xMRTT 0xMRTT mentioned this pull request Jan 13, 2023
1 task
@daudix
Copy link
Member

daudix commented Jan 13, 2023

Can I see other themes? (maybe link to the docs's docs)

@0xMRTT
Copy link
Member Author

0xMRTT commented Jan 13, 2023

It's sphinx (https://www.sphinx-doc.org/) and the theme is one of the most used: Read The Docs Theme, you can just search for Sphinx theme online

@0xMRTT
Copy link
Member Author

0xMRTT commented Jan 13, 2023

So what do we want to include in the user doc ? @daudix-UFO

  • installation and build instructions (HACKING.md)
  • setup
  • how to use gradience
  • troubleshoot
  • cli usage
  • faq

@tfuxu
Copy link
Member

tfuxu commented Jan 13, 2023

@daudix-UFO
You can check a pretty big list of curated Sphinx themes here: https://sphinx-themes.org/

@daudix
Copy link
Member

daudix commented Jan 13, 2023

I think we can change the theme later, so I will have time to look at them ;)

@daudix
Copy link
Member

daudix commented Jan 13, 2023

@0xMRTT

  • how to use gradience

Later when we will have website we can create a handbook, small set of guides and tips for gradience, docs will remain useful but as for new users it will be handy

E.g Vanilla OS have docs and a handbook

@daudix
Copy link
Member

daudix commented Jan 13, 2023

After looking at all themes, I think that https://sphinx-themes.org/sample-sites/furo and https://sphinx-themes.org/sample-sites/sphinx-book-theme are looking pretty neat, I like the furo the most, it also have dark mode

@daudix daudix added the status/wip Work in progress label Jan 13, 2023
@0xMRTT
Copy link
Member Author

0xMRTT commented Jan 14, 2023

I really like fuel to BC of the dark mode. Gonna change

@tfuxu
Copy link
Member

tfuxu commented Jan 14, 2023

fuel? If you meant furo, then I also agree, although I think it will need a little bit of tweaking later.

@daudix
Copy link
Member

daudix commented Jan 14, 2023

although I think it will need a little bit of tweaking later

This would be very nice! (it feels too "square", a bit of rounding will make it better)

@tfuxu
Copy link
Member

tfuxu commented Jan 14, 2023

it feels too "square", a bit of rounding will make it better

fr, true

@tfuxu tfuxu added this to the 0.8.0 milestone Jan 29, 2023
@0xMRTT
Copy link
Member Author

0xMRTT commented Feb 9, 2023

image

@0xMRTT
Copy link
Member Author

0xMRTT commented Feb 9, 2023

@daudix-UFO
image

@daudix
Copy link
Member

daudix commented Feb 9, 2023

@0xMRTT Looks dope!

@daudix
Copy link
Member

daudix commented Feb 10, 2023

I have fixed the fonts!

Screenshot

Screenshot_20230210-182558_Firefox

@daudix
Copy link
Member

daudix commented Feb 10, 2023

One thing I would like to see is:

image-rendering: -webkit-optimize-contrast; /* Chromium and Safari */
image-rendering: crisp-edges;

For the sidebar gif

@0xMRTT
Copy link
Member Author

0xMRTT commented Feb 10, 2023

@daudix-UFO while updating the AUR, i noticed that appstream check fail (not important but...)

3/3 Validate appstream file        FAIL            1.73s   exit status 1
>>> MALLOC_PERTURB_=80 /usr/bin/appstream-util validate /home/user/aur/gradience/src/build/data/com.github.GradienceTeam.Gradience.appdata.xml
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ✀  ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
stdout:
/home/user/aur/gradience/src/build/data/com.github.GradienceTeam.Gradience.appdata.xml: FAILED:
• attribute-invalid     : <screenshot> width too large [https://raw.githubusercontent.com/GradienceTeam/Design/main/Screenshots/colors_purple.png] maximum is 1600px
• attribute-invalid     : <screenshot> height too large [https://raw.githubusercontent.com/GradienceTeam/Design/main/Screenshots/colors_purple.png] maximum is 900px
• style-invalid         : <image> has vertical padding [https://raw.githubusercontent.com/GradienceTeam/Design/main/Screenshots/colors_purple.png]
• style-invalid         : <image> has horizontal padding [https://raw.githubusercontent.com/GradienceTeam/Design/main/Screenshots/colors_purple.png]
• attribute-invalid     : <screenshot> width too large [https://raw.githubusercontent.com/GradienceTeam/Design/main/Screenshots/advanced_purple.png] maximum is 1600px
• attribute-invalid     : <screenshot> height too large [https://raw.githubusercontent.com/GradienceTeam/Design/main/Screenshots/advanced_purple.png] maximum is 900px
• style-invalid         : <image> has vertical padding [https://raw.githubusercontent.com/GradienceTeam/Design/main/Screenshots/advanced_purple.png]
• style-invalid         : <image> has horizontal padding [https://raw.githubusercontent.com/GradienceTeam/Design/main/Screenshots/advanced_purple.png]
• attribute-invalid     : <screenshot> width too large [https://raw.githubusercontent.com/GradienceTeam/Design/main/Screenshots/monet_purple.png] maximum is 1600px
• attribute-invalid     : <screenshot> height too large [https://raw.githubusercontent.com/GradienceTeam/Design/main/Screenshots/monet_purple.png] maximum is 900px
• style-invalid         : <image> has vertical padding [https://raw.githubusercontent.com/GradienceTeam/Design/main/Screenshots/monet_purple.png]
• style-invalid         : <image> has horizontal padding [https://raw.githubusercontent.com/GradienceTeam/Design/main/Screenshots/monet_purple.png]
stderr:
Validation of files failed
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――


Summary of Failures:

3/3 Validate appstream file FAIL            1.73s   exit status 1


@daudix
Copy link
Member

daudix commented Feb 10, 2023

@0xMRTT Ah, looks like screenshots are too high-res (bruh)

@0xMRTT
Copy link
Member Author

0xMRTT commented Feb 10, 2023

@daudix-ufo Usage is done, could you review my work ?

@daudix
Copy link
Member

daudix commented Feb 10, 2023

Looks good, but why you removed bundled source code pro font?

it is bundled because not every distro have this font pre-installed

@0xMRTT
Copy link
Member Author

0xMRTT commented Feb 10, 2023

Hhmm, i didn't removed the bundle, maybe a shit with git. Sorry :/

@daudix
Copy link
Member

daudix commented Feb 10, 2023

Hhmm, i didn't removed the bundle, maybe a shit with git. Sorry :/

Fixed, no worries

@daudix
Copy link
Member

daudix commented Feb 17, 2023

BTW, GNOME Developer Documentation uses sphinx and furo theme (how is this even possible :O), so we can just borrow it from there to have the tweaks applied by GNOME

https://gitlab.gnome.org/Teams/documentation/developer-www

@0xMRTT
Copy link
Member Author

0xMRTT commented Feb 18, 2023

Lol,gonna do that 😉

@0xMRTT 0xMRTT closed this by deleting the head repository Feb 24, 2023
@daudix daudix changed the title doc: begin writing user doc docs: add usage documentation Feb 24, 2023
@0xMRTT
Copy link
Member Author

0xMRTT commented Feb 24, 2023

NOOOOOOOOOO

@0xMRTT
Copy link
Member Author

0xMRTT commented Feb 24, 2023

Why i deleted that :D :/

@0xMRTT 0xMRTT reopened this Feb 24, 2023
@0xMRTT
Copy link
Member Author

0xMRTT commented Feb 24, 2023

@daudix-UFO what do you think about the doc ?

@daudix
Copy link
Member

daudix commented Feb 24, 2023

I will try to add the GNOME docs style and we are ready to go!

@0xMRTT
Copy link
Member Author

0xMRTT commented Feb 24, 2023

I already added

@daudix
Copy link
Member

daudix commented Feb 24, 2023

изображение

@daudix
Copy link
Member

daudix commented Feb 24, 2023

Btw, we can continue on the GradienceTeam/gradience-docs branch

@0xMRTT
Copy link
Member Author

0xMRTT commented Feb 25, 2023

Moved the doc to GradienceTeam/docs and published on RTD at gradience.rtfd.io

@0xMRTT 0xMRTT closed this Feb 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/documentation Improvements or additions to documentation status/wip Work in progress
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

feat: Create user documentation
3 participants