Skip to content

Conversation

@Int-Circuit
Copy link

@Int-Circuit Int-Circuit commented Jul 19, 2024

Why

The QelectroTech manual hasn't been updated for V0.9 and lacks any developer info (build/test the app). This MR hopes to correct this.

Summary

This MR has three axes:

Simplify

  • Switched from using bootstap4 theme to furo sphinx theme. (Reason is that the former isn't updated anymore. The latter is updated, is used for the python + pip doc and has built-in support for dark theme.)
  • Use sphinx-design extension to simplify appearance of welcome page.
  • Create a (proprer) directory structure to switch from a messy structure to an organized one (especially for images)
  • Ported old documentation contents to online doc (Delete outdated QET docs qelectrotech-source-mirror#412)

Update

Maintain

  • Update User docs
  • Update low-res icons/images
  • Add spellchecking system on deploy

Bugfix

@Int-Circuit
Copy link
Author

I sadly cannot (yet) replicate the presentation on the user par of the manual. Would a presentation change be a no-go?

image

@scorpio810
Copy link
Collaborator

I'm wait to push your pr.
Thanks @Integrat-edCircuit ;-)

@scorpio810
Copy link
Collaborator

if documentation were easier to translate, it would be a great improvement

@Int-Circuit
Copy link
Author

if documentation were easier to translate, it would be a great improvement

It requires sadly to have the doc being rewritten in the corresponding language. Not an easy process. If I have some time, I'm gonna sse if there is a possibility to do som CI magic to use a libretranslate instance to do the job

@scorpio810
Copy link
Collaborator

@Int-Circuit
Copy link
Author

Int-Circuit commented Jul 20, 2024 via email

@Int-Circuit
Copy link
Author

Int-Circuit commented Jul 22, 2024

I sadly cannot (yet) replicate the presentation on the user par of the manual. Would a presentation change be a no-go?

image

I've got it working by using the sphinx-design extension so no custom html that could break. Yay!

image

@Int-Circuit
Copy link
Author

@scorpio810 is there something that changed meaningfully between 0.8 (last up to date version of the doc) and 0.9 that I would need to add/edit?

@scorpio810
Copy link
Collaborator

scorpio810 commented Jul 25, 2024

@scorpio810 is there something that changed meaningfully between 0.8 (last up to date version of the doc) and 0.9 that I would need to add/edit?

@Integrat-edCircuit :See
https://qelectrotech.org/forum/viewtopic.php?id=1953
https://qelectrotech.org/forum/viewtopic.php?id=2379

https://qelectrotech.org/forum/viewtopic.php?pid=17250#p17250

@scorpio810
Copy link
Collaborator

@scorpio810
Copy link
Collaborator

yes, I know it's a lot of work to edit, but you don't have to, otherwise thank you very much in advance.

@Int-Circuit
Copy link
Author

yes, I know it's a lot of work to edit, but you don't have to, otherwise thank you very much in advance.

Thx for linking me to that, regarding what I was talking onto our forum thread, what do you think about

@Int-Circuit
Copy link
Author

Automatic page building now works! as for the REUSE action if you see recent failed deployments, it is normal it fails if no file have been changed

@Int-Circuit
Copy link
Author

@scorpio810 what is the ACTUAL version number of the doc?

@scorpio810
Copy link
Collaborator

There was never a version number for the documentation, it was just based on version 0.7 of QET.

@Int-Circuit
Copy link
Author

OK. Im currently implementing an autochangelog system for the doc + source code. Does it makes sense to say that the doc was at version 0.1 for qet 0.7?

@scorpio810
Copy link
Collaborator

scorpio810 commented Aug 26, 2024

Yes it's make sense.

@Int-Circuit Int-Circuit marked this pull request as draft January 21, 2025 07:39
@Int-Circuit
Copy link
Author

@scorpio810 Could you perhaps ask some contributors like @plc-user or others to check if the docs are missing some implemented features pls?

@plc-user
Copy link

plc-user commented Mar 7, 2025

Hello @Int-Circuit!

Most of my commits work in the background not to be seen by users, but some are quite visible:

  • implement settable point-size of grid (1 .. 5)
  • element editor: add mirror (shortcut: <M>) and flip (shortcut: <F>) for all primitives
  • element-editor: add rotation with smaller increments (5 degrees) for "line", "polygon", "text" and "dynamic_text" with shortcut <Ctrl>+<Space>
  • element-editor: fix rotation by 90° of primitives (shortcut: <Space>)
  • element-editor: copy-and-paste: set paste-position to meaningful values
  • export: set maximum width / height according limitations in QPainter to 32767 for Pixel-Images and 100000 for svg/dxf (was set to 10000 before globally for all types of export)
  • use QET_ElementScaler from Element-Editor - GUI
  • add "Company-Collection" and "Company-Titleblocks" (can be used like customer-collection and customer-titleblocks)

All these changes are for the version 0.10-dev of QET!

@scorpio810
Copy link
Collaborator

Hello @Int-Circuit!
I've compiled the html pages of the manual and made them available here for QET's users to comment on.:
Manual_new

@Int-Circuit
Copy link
Author

Int-Circuit commented Mar 7, 2025 via email

@Int-Circuit
Copy link
Author

Int-Circuit commented Mar 7, 2025 via email

@plc-user
Copy link

plc-user commented Mar 7, 2025

There are some threads in QET-Forum, where differences between versions are noted:
version 0.7 -> 0.8: https://qelectrotech.org/forum/viewtopic.php?id=1953
version 0.8 -> 0.9: https://qelectrotech.org/forum/viewtopic.php?id=2379
My french is not good enough to understand a great part of it.
It seems that these are lists of headlines from github-commits ... what's behind each???

@Int-Circuit
Copy link
Author

Hi @scorpio810, could you please tell me where the source for the Doxygen files are, I am trying to integrate them in the dev docs.

@scorpio810
Copy link
Collaborator

Hi @scorpio810, could you please tell me where the source for the Doxygen files are, I am trying to integrate them in the dev docs.

Hi @Int-Circuit source for Doxygen are here:
https://github.com/qelectrotech/qelectrotech-source-mirror/blob/master/Doxyfile

@Int-Circuit
Copy link
Author

Hello @scorpio810 could you please review the doxygen MR on the QET source repo?
Thx

Update gh-reuse.yml to correctly account if no changes

Update gh-reuse.yml to take note of continue-on-fail on previous step

fixed position of if

Update gh-reuse.yml

Changed from activating on push to activating on pull request + removed unnecessary if no change step as the continue-if-fail instruction allow to skip got step if source files haven't had a change

added po files to translate + towncrier config to auto generate changelog of doc

added PO files
removed autochangelog to future MR + rework image dir
testing changes to fix CI

excluding conf.py file

fixed path of source files in codespell step

added fix for codespell

added Test of path for codespell

changes to codespell

fixing errors in CI
… from devs regarding action

fixing typos and formatting
added checkout

reenabled typo checker

skip svg files

fixed path to check spelling

fixed typos in previous chapters
…Spell errors still shown but deploy anyway

- Continue to fix errors in docs

Switch to always in action

removed always

use correct continue on error parameter

fixing quotes in skipped files param

fix quotes

fixing globs
remove broken translations

remove more translations

added doxygen job to page setup

added sanity check

commented prod command

added wait on page job

corrected path on artifact

added test doxygen

forgot to point to test branch

use git switch instead of checkout

switch correct directory

fix artifact directory

check xml dir

return to origin path

added absolute path

dir check

switch to prebuilt action

remove workspace path

correct doxyfile placement

fix file name

added file passing to jobs
removed old code

added branch build

removed need doxygen
deploy on push

fix for action

switch to ubuntu-latest since 20.04 isn't available anymore
remove breathe

added correct codespell skip glob

fix space in spell step
fix reuse error

fix commit message
fail on spell error

fix warn
- translated images + translation in future MR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error in the online manual Incorrect link on the english documentation page

3 participants