-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
File not found at path: vuepress/.assets #33
Comments
Hi. Thanks for reporting. Are you using a phar version of phpdoc? What version are you using? |
Yes. i used phar phpdoc 3.0.0. |
phpdocumentor version ^2.9.1 as described on Doc not working as well. |
I think you are using phpDocumentor 3. Sadly, at the moment, this template is not compatible with it. Seems that you installed locally with composer, but still using phpDocumentor 3 executable. Try to run And yes, PHAR bins seems to fail to locate template files also. :( You can try to build the documentation using GitHub Actions, for example the Build job in this workflow: https://github.com/nelson6e65/php_nml/blob/master/.github/workflows/documentation.yml#L47 (Is configured to use Netlify, but you can adapt it to GitHub pages or any other). If you like to discard if there are some problems with your config, you can try to build the documentation of this repository: # Clone and move to phpdoc-vuepress directory
# Install dependencies
composer install
npm install
# Build API with local phpDoc configured as composer script
composer build:api
# Run VuePress server
npm run docs:dev |
If you have problems with building docs for this repository, following previous instructions, then there is some platform incompatibility (PHP version, mostly). If you successfully build the project, then there are some issues with the global binary files you are using. Maybe duplicated phpdoc bin in different locations. |
You can try using composer scripts, like this repo, if you installed phpDocumentor 2.9.1 in your local composer.json. With this, composer will look for local install at first. |
What do you mean with "exceeds 500Kb"? |
i dont know, its mean too large md file. |
are this no alternative splitting classes.md when reached 500kb size ? |
when classes.md more than 500kb, vuepress cannot load all contents. result is blank on classes.md (http://localhost:8080/base-url/classes.html) |
i build phpdoc with limit classes. but when i build with Config : https://github.com/dimaslanjaka/universal-framework/tree/master/docs-src Static JSDoc with gulp-jsdoc3 into .vuepress/public/js (work) |
Oh, I understand. You have too many classes, so the file is too large. Hmm... Yes, I was thinking a way to split on multiple files some time ago, and I found some directions about it, but for my implementation for phpDocumentor 3. At the moment I have not much time to invest in here. I'm sorry 😥. I will try to get more tome to invest in that implementation in the following weeks, because I also need PHP 7.4+ syntax compatibility for my current projects' documentation. |
I have idea. I want to help, but i still confusing on how md marker to indicate next page or next definition class/method. Need split them to spread into multiple files |
Executing that single file php on cli faster than webserver. Can load file size 3mb++ less than 3 seconds on CLI. |
Yes, the spitting was a challenge when I try to implement, but I noticed a feature in phpDocumentor 3 to allow split documentation in multiple files, At the beginning, my intention was to build only 1 JSON file and start building from there. 1 Generic Vue component for Class, Trait, etc, but I was kind of difficult, and I ended up by using twig templates instead. |
https://github.com/fr3nch13/phpdoc-markdown i have try this. Also compatible with phpdocumentor 3.0 |
Scopes
Describe the bug
Steps to reproduce
The text was updated successfully, but these errors were encountered: