-
Notifications
You must be signed in to change notification settings - Fork 16
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
Write documentation #48
Comments
@sumeshir26 There's some initial documentation with GitHub pages here: https://tukaan.github.io/docs. |
On the home screen, Blocking us mistyped as Blicking |
Also, did'nt you write a basics article on this repos Github Wiki? You should add it |
I would really appreciate, if somebody could help in this 🤗 |
Also, writing comprehensible __doc__strings in English is not my strong point. |
I would truly do it but recently I have become so busy |
I just saw this tbh. Could help in this if I could get hands-on with the features. You sure it can work on a Manjaro ARM build on a Pi 4B? I'm changing my devcenter completely from Windows. |
Maybe I'll just draft it out during a small break. This is the last school week and I am gonna be busy till the end of April(not May, if you see the original revision), but that doesn't mean I don't get to test things. Will try Tukaan (first timers, so it's gonna be something!). |
In theory everything should work just fine on Linux. Unfortunately that's not the case on Windows, 'cause I haven't compiled any binary extension on it. So Tukaan currently works only on Linux.
Yeye, I'm trying to add as much demo snippets to new PRs as I can, and some day I'll move them to an example repo. These code snippets can also help you learn a bit of Tukaan, although I know, they're not necessarily informative or useful. |
Hmm... Doesn't matter if it's informative, just keep it in the open source mode, I'll help during May. I have an exam up and then holidays, however will be busy till May. I will charter some MD on Obsidian by today. |
Also for the documentation site, I recommend that you use another Jekyll theme, Cayman sucks in that. |
Plus point: I have a vague but nice idea. As we are talking, I just forked Tukaan's docs repo. Not to make huge text upgrades, but to add a really visually appealing Jekyll theme to it. Don't worry, I am in control there, but I just need some code snippets(well, list all the functions and we will add them slowly, could take a long time, but once done, enjoy!), some free time and a nice Jekyll theme. |
@rdbende saw your invite to join the docs repo as a collaborator, thanks for that big opportunity. I'll upload my changes there in a new branch late afternoon. |
@im-coder-lg I saw, you use Just-the-Docs, I think it's a nice stuff, and I temporarily added it as a remote theme to |
10-4, boss! I'll explore some more things, I need some help on a Favicon though, so if you provide that, I'll work on that, add it, customize the website and hopefully make it attractive. Is Tukaan ready for an alpha build? That way, we could gain traction to the website and the modules... |
Hmm, the sentence "The New Experience" has a worse font. Any good font ideas? |
Yeah, I wanna merge the Gtk theming before that so Tukaan can look native on Linux, but otherwise I think it's ready for an alpha release.
Will work on that today |
I just noticed this issue. Would you like me to look into helping with the docs so that we can add all the widgets to the docs? If not, I take no offense at all. I do not have nearly as much understanding in web development so I may not be the greatest fit but I know a decent bit (enough to create an outline) |
Well, we do need extra help, so you can do it! No need to know web dev, all you need is Ruby, Bundler, Jekyll and some Markdown skill. |
Would you be able to give a quick rundown on those languages and the how to edit the site? |
Well, you first need Ruby 2.7.3 on your Mac. Then, open your terminal with sudo perms, then make sure the gem command exists. Gem is the command call for Ruby's apckage manager. With that, run |
I've been trying for about an hour to update ruby but because I use a mac it is being a great pain 😩. I keep getting errors with SSL certificates and whatnot. I have Ruby 2.3.7 installed currently but am not sure if that will suffice. Does it require Ruby 2.7.3 or will my current version work? Thanks for the instructions by the way 🙏 |
I guess 2.3 should work, but i dont have a mac so i haventrried |
And even if you write just the markdown and give it to us, we will add it and stuff |
I think I'll have some time this week to work on updating the documentation |
I'll start powering through this sometime. @rdbende Can you get me a list of stables widgets that you would like documented and then I'll get to work? |
@rdbende What needs to be updated and what needs to be added? |
Basically we need a doc page on every widget, that hasn't been documented yet, and we have to update the docs about the |
Wait really? Can you give a quick explanation? |
Yep. The idea behind it is to separate the concept of "The App" and the root window, it it makes it easier to display a splashscreen while the window loads, and make every widget appear instantly as the window becomes visible. It works like this: import tukaan
app = tukaan.App(name="My app", author="rdbende", version="2.0.0b4") # These properties are later used to automatically fill the splash screen, the about dialog, and some other stuff with the needed information
# Nothing appears on the screen
splash = tukaan.SplashScreen(show_progressbar=True)
def setup(window):
menubar = tukaan.MenuBar(window)
some_widget = tukaan.SomeWidget(window)
some_widget.grid()
win = tukaan.MainWindow(title="Main window of My app", setup=setup, on_load=splash.hide)
app.run() |
Oooooooh. Is this in the most recent Pypi release? |
No, it's only here on Github, and the MenuBar widget doesn't even exist (I'm working on it right now) |
I'm so excited for the Menubar to be honest because once the menubar and text widget are added I'm bugging out with tkinter and moving DIP onto tukaan. Will be annoying but hey, I want to help work more with Tukaan |
Oh, @rdbende I haven't seen you on ##learnpython in a while so I thought I'd ask you here: Can you help me with my linenumber widget? I'm trying to get dragging to work better and know you know tk better deep down. If you're up to the task let me know. no worries if not. In the meantime I will work on writing some more docs for Tukaan |
@rdbende I get an error when using the Splashscreen code when using the newest commit from the github repo |
Hmmm... 🤔 |
Maybe its on your computer without being commited |
Whoops, that file is untracked, so I didn't commit it lol. Will fix it soon. |
Lol thanks |
So I noticed in the code that the comment said that the menubar would autofill but upon testing the code without the splashscreen it just uses the default tk one. Any thoughts? |
The menubar stuff isn't finished yet. |
Ah |
So what have I missed recently? |
Anyone who would be interested in taking on this task? It would be greatly appreciated. The new |
If you could give a very brief usage explanation for them and the possible args and Leary's I could take this on this summer. |
@im-coder-lg if you still want this, |
Dang I forgot about this! Sorry, I don't really know when I can help. I have a lot of exams coming up, but I will get holidays. If anybody can make a list of things to add for documentation, I can definitely help. |
@Moosems, @im-coder-lg |
Yay!!!! |
This will make it much easier to get started, I didn’t even know this had so many options without looking at the code!
The text was updated successfully, but these errors were encountered: