Post

Replies

Boosts

Views

Activity

Reply to "Could not display guide" message
I decided to have a crack at copying off the Get Started with Apps example and changed my targets section of the app package to look like this:     targets: [         .executableTarget(name: "App", dependencies: ["Guide"], path: "App"),         .target(             name: "Guide",             path: "Guide",             resources: [             .process("Guide.tutorial"),             .process("Resources/title.png"),             .process("Resources/titleBackground.png")             ])     ] With both Xcode 13 and the 14 beta I get the following message now, for my project: public headers ("include") directory path for 'Guide' is invalid or not contained in the target There is a Guide folder and a Resources folder with those two pngs in it, so I don't think it's an issue with missing files... Any ideas at all would be appreciated.
Jun ’22
Reply to How to host multiple docarchives on a single http server?
Thanks for the quick response! So I'm planning on using Apache and having a setup that looks like, for example, this: ~/public_html/docs/question_bot ~/public_html/docs/slothcreator But before I even get to serving up the two separate doc archives, when I navigate to question_bot, I have an issue loading the css and js folders at the root, because in my public_html folder I already have css and js files that drive other parts of this site. So this rewrite rule in the .htaccess file is a bit of an issue: # Route files within the documentation archive. RewriteRule ^(css|js|data|images|downloads|favicon\.ico|favicon\.svg|img|theme-settings\.json|videos)\/.*$ QuestionBot.doccarchive/$0 [L] (This rewrite rule is in a .htaccess file in the ~/public_html/docs/question_bot directory.) Is there an easy way to amend this to not stomp all over my existing content? I can go digging into rewrite rules and regexp, but if there's an obvious way to support the setup above (and avoid requests for my docs going to /css and /js) I'm missing I'd love to hear it. Thanks!
Jun ’21