-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updates to documentation & new logger. #210
Updates to documentation & new logger. #210
Conversation
In reference to comments left on #197: Thankyou for the previous feedback!
I'll ask @KelvinChung2000 the priority of this work, it may have to wait for now unless someone else would like to continue it. |
New commit made 0268c54Logo size: An .svg version of the FABulous logo was provided, however this didn't provide a quick fix to the issue. I would have to increase the size of the navigation bar by too much to produce legible text. I modified the logo by simply moving the text to the right, in a similar manner to how NetworkX has their logo. I also increased the bar size to 80px tall and the modified logo to 70px tall (with auto aspect ratio for the width). The original logo in both .png & .svg are still in the files should they be required. General formatting: Many of the pages before had the section navigation side bar taking up a good 1/3 of the page space, this includes on the index pages essentially having two parts of the page doing the same function, I've removed it from pages where I deemed it unnecessary. There is also the option to remove the "on this page" side bar, but I've kept it for now as it provides a link to the page source. Notes: An additional change that I think would be good is make all titles and headers follow PascalCase typing convention. |
Thanks for all your changes!
Since we have a dedicated
I was told that logos are a somewhat political thing, so I'm not sure if this should be done, even though I personally think that it looks good (if the issue mentioned next is resolved). @dirk-koch would know, but he probably does not look here. Also on my side there seems to be a problem with text overlapping: It looks like this in chrome, firefox and also when viewing the
Since the actual content takes up only about 1/3, at maximum 1/2 of the page, I personally don't if the section navigation side takes up a part of the screen where there is not content anyway. However, if the functionality is duplicated in the
This is a good idea! I totally agree! |
Not up to date on the context here (and feel free to overrule me here as it's been a while since I've had any official involvement with FABulous) but I think having separate requirements files is probably sensible, since the majority of FABulous users won't be wanting to build the docs locally. I've just realised this second file isn't clearly documented anywhere though, I'll add something to the README. |
#212 makes my statement obsolete, since this makes it clear to just use one |
Hi! It's my pleasure, I appreciate the feedback!
I was blissfully unaware that it could be a political thing, but fortunately all the original files have been kept in the folders if they do need switching out. The main reason for the change was because it seemed the most straightforward fix for the size issue, without trying to modify the theme dramatically through CSS which i'm not experienced with.
It may have been the way I've generated the .svg, it will definitely need a pass with actual graphical design tools and tweaks. with that however it does look fine on my end with the screenshots taken from chrome and they look the same when opening with MS Edge.
I think if the doc gets expanded and filled out then the navigation side could be useful as it allows for the addition of a search bar, but yes a lot of this is personal preference, we could just take NetworkX as a gold standard as from previous discussion people are in agreement that it looks good. |
Modifying the logo in this way I think is acceptable since most companies have vertical and horizontal logos. FABulous will be like the "company" name. I guess the next question to ask is, is the current logo design good enough for presenting what FABulous is about. Can it be used standalone without needing FABulous name on it. We are now doing marketing... |
Yeah we should do this :)
Hmm okay, as long as it ends up like this on the actual documentation, it's fine!
I also didn't know this until I was told so recently by @dirk-koch. But if @KelvinChung2000 says it's fine, then it"s fine.
Yeah this would be a bit too much I guess... |
We have not trademarked or copyrighted the name anyway. Does our license mention anything about that? I cannot represent Dirks's opinion; if he dislikes it, we can revert the change and compromise on the look. It has been a while since I've talked to him. |
Hi, @KelvinChung2000 Kindly provided a better version of the wide logo, the .svg version also started having text overlap so I switched it out for the png version provided, hopefully that should ensure it'll look the same across all machines and browsers. Before: After:
Please can you check if that fixes the issue you saw @IAmMarcelJung? I've also fixed some missing indentations in the docstrings. Cheers, |
Thanks a lot, now it also looks good on my side! |
89f4f38
to
76e5d48
Compare
@IAmMarcelJung If you are happy with the current state of the new Doc I will merge this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First of all thanks again for all the changes! After going through each of them I appreciate them even more! I think I misused the review feature a bit, since I also suggested changes for some parts that were already present before and were just copied due to the documentation changes. Sorry for that, but at some point I couldn't really stop... I can also not recommend it, since GitHub got painfully slow (it took 30 seconds to make a small suggestion in the end).
@KelvinChung2000 For me everything works fine now. When I showed the new design to Dirk (since he's not active here and I try to keep him a bit up to date), he wasn't quite happy about it, so probably ask him too. |
Last time I talked to him, is because he dislikes dark themes. Maybe peek the light theme version to him and see what else he would like to change. Since this is only about the theme, once the correction is done, I will have this merged as well. |
Applied the corrections done by @IAmMarcelJung. Big thanks to him! Co-authored-by: Marcel Jung <[email protected]>
a7a9290
into
FPGA-Research:FABulous2.0-development
This a fixed version of request #197
This pull request focuses on expanding the current docstring, converting existing ones to the NumPy format and changing the Sphinx configuration to accept the format as well as updating the theme to "PyData".
Additionally the current logging system has been changed to use Loguru, files missing logging have been also updated to include it.
None of the core functionality has been changed this is more a fresh coat of paint.
All feedback is welcome especially if something has been missed.
Note
PyData Theme
Loguru