-
Notifications
You must be signed in to change notification settings - Fork 53
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
Orchid Starter Guide isn't very beginner friendly. #384
Comments
I apologize for the delay on Gitter. I just moved and have not been online much in the past few weeks. There are a few things to check:
|
|
Yes, I meant separate subproject, I've corrected the comment above. And this tutorial was written to be read top-down slowly and carefully, as it is a literal step-by-step guide, not as a quick reference. The Homepage subheader is the first time it mentions adding Orchid-specific files to the site, and I tried to be pretty clear about which directory these files need to be in:
Additionally, every code snippet in that tutorial includes the full path of that file in the project as the first line of the snippet, so they all include |
Maybe adding a small section called It's a small change, but sure wouldn't hurt. About my issue: I got the Orchid plugin now to find the sources for Javadoc, but I now face the issue, where it can't find pages? Because I receive a lot of errors like these here:
Edit: Looking over the errors does it seem to be a general issue with linking to external Java sources such as IOException |
Orchid isn't able to link to stdlib classes or other sites' package-list files like normal Javadoc can, there's an open issue for this #237. |
Okay, thanks. |
No, I don't have an ETA on it yet, but it is one of the most requested features (along with #357). Those links are already being skipped, it will just print out the text (not as a link) instead. The errors are only shown in diagnose mode, so the site should still be building successfully |
The site does build, but it still only gives the default pages without any changes made at all. To give some context, the current project structure is build like this:
And the config.yml, as of now is like this: theme:
primaryColor: '#2C2F33'
javadoc:
modules:
- name: 'JavaBotBlockAPI (Core)'
slug: 'javabotblockapi-core'
sourceDirs: ['../../../core/src/main/java']
- name: 'JavaBotBlockAPI (JDA-Module)'
slug: 'javabotblockapi-jda'
sourceDirs: ['../../../jda-module/src/main/java']
relatedModules: ['javabotblockapi-core', 'javabotblockapi-request']
- name: 'JavaBotBlockAPI (Request-Module)'
slug: 'javabotblockapi-request'
sourceDirs: ['../../../request-module/src/main/java'] |
Could you push your work to another branch so I can take a look and see what's going on? |
The project is currently being remade to be a multi-module one. |
Thanks, I'll take a look at it today |
I tried it the changes you PRed by executing Edit: The files seem to get generated, but somehow does the plugin not apply those to the live web-version? |
What live web version? |
I think I found the cause of the issue, but I need to investigate that. My assumption is, that somehow a previous Gradle task (the |
You must have a terminal open somewhere, or a Gradle process is running in the background, or something else is being served on that port. When you run But yes, if the default port is currently in use it will try to find another available port. Either view the site at the URL printed to the terminal, or try killing port 8080 and killing any running Java processes |
I can confirm that it was indeed a gradle daemon that was still running in the background and was somehow taking priority over the port. I killed it manually now and the docs are displayed as expected, although with some visual issues (see #385 as one of the issues. Another is, that syntax highlighing isn't working and that empty lines in code blocks are also missing.) And orchid didn't try at all to use another port. It always printet the 8080 port in the console. |
What would be the easiest way to alter the background and text color in Orchid? |
I discovered something rather weird, which is, that links to normal classes from inside nested classes also don't seem to work? Can this somehow be fixed, considering that this is working for normal Javadoc generation? (P.S. "Return Value" is missing a space) |
Next minor issue I found is again with the When you use An example would be this line here which is changed to just Could this perhaps be a bug/issue with annotation interfaces? Considering that those don't even seem to list the available fields and methods. |
I want to try out Orchid on my multi-module project, but it does nothing more than generating the default pages that you get when trying out the Java-example.
I already tried to create a
config.yml
in the mainsrc/main/resources
directory but it didn't work. Putting it directly into the root directory also didn't change anything.I am aware that the gitter chat is your (prefered) way of giving support, but as of writing this issue is noone active there and my personal guess is, that I won't be online when I receive an answer, making support delayed and unpleasant.
If there is any other form of comunication, such as a Discord chat or similar would I really appreciate to get forwarded to it.
My main issue is - as described above - is that the config seems to get fully ignored.
I'm in the process of turning my single-module project into a multi-module one and therefore use the multi module setup for the config.
But no matter if I put the config file in
src/main/resources
, just the root directory or in a dedicated docs module does Orchid do absolutely nothing with the projects module setup.My config.yml currently looks like this:
I of course added the javadoc plugin as a orchidRuntime dependency to the source build.gradle.
I'm frustrated beyond any belief and close to just throwing this entire thing away.
The text was updated successfully, but these errors were encountered: