Open Closed

DocumentNotFoundException (404 error) for Document module #3306


User avatar
0
Sturla created

I´m trying to setup the documentation module (for my GitHub repo) and am having hard time getting past this 404 error on this https://docs-p.azurewebsites.net/is/docs/latest doc.

I have a standalone VoloDocs AppService

with these settings

I can do a pull (with the dialog closing)

In the error messages below (next comment) I can see a // (in this https://raw.githubusercontent.com/Ibeinni/docs//docs-langs.json). So I´m guessing that I´m missing the version but I have no idea how to fix that.

This must be something super simple I´m missing!

  • ABP Framework version: 5.3.0
  • UI type: MVC / Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

30 Answer(s)
  • User Avatar
    0
    Sturla created

    Awesome thank you! It worked!

    So maybe it was the "index" vs "Index" thing?

    But now I´ll try to replicate this in my real project. If that works fine I´ll come back and close this question.

    One thing for you, there is something wrong with the styling of the header up in the left corner.

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    So maybe it was the "index" vs "Index" thing?

    Yes, i think it was related with that. Because, it checks the default page and then pull the documentations.


    One thing for you, there is something wrong with the styling of the header up in the left corner.

    Yes, it seems there are styling problems when using the Docs module with Lepton theme. (It works great with Basic Theme) I'll create a new issue for that. Thanks.

  • User Avatar
    0
    Sturla created

    Two questions then (and them I´m done I promise)

    • Can I override/fix this styling? Unfortunately can´t use it like this...
    • I guess I need to setup a elastic service in my Azure portal and point to it, right? Or can it be used "locally" without having to buy an extra service? I can´t find more information on this in any abp.io documents. I just have never used it before...

    And I managed to get this up and running on my commercial code so I will be closing this. Small caveat was that I did try to have it on my IdentityService instance but that caused me some "resource not found" exceptions so I just moved it to the Public page.

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer
    • Can I override/fix this styling? Unfortunately can´t use it like this...

    Yes, you can. You just need to add the vs.css file in the exact same directory of the Docs module. (https://github.com/abpframework/abp/blob/dev/modules/docs/src/Volo.Docs.Web/Pages/Documents/Shared/Styles/vs.css)

    • I guess I need to setup a elastic service in my Azure portal and point to it, right? Or can it be used "locally" without having to buy an extra service? I can´t find more information on this in any abp.io documents. I just have never used it before...

    You don't need to use elastic search, is not required (it's optional and goods for full search). In other words, the Docs module is not dependent on it to run.


    I close the question since your problem seems to be resolved.

    Best regards.

  • User Avatar
    0
    Sturla created

    Thank you. All is good now.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11