How to solve Gitbook don't work? - gitbook

When i use gitbook,the Table of Contents are as blows:
How to resolve it? There is a remind:Need valid "ref" options

It seems like you don't have a SUMMARY.md. At least I don't see one in your files Tree.
If it still doesn't work, do you have a link to your files?

Related

Is there a "switch" tag available

I just tried to use the switch tag on a twig template, on a Symfony 5 project and got an error.
Then looked for a solution on the web, found documentation, double checked my syntax, that was correct.
Finally, searched the twig vendor folders and didnt' found any switch*.php file.
I guess this is not available by default but can't believe it. Does anyone have an idea?
No, swicth not exists in default Twig installation.
To use the switch statement you must implement it by yourself or use a bundle/package like buzzingpixel/twig-switch.

Typo3 missing all the styles(css/js) after upgraded from 6.2.X to the 7.6.10

I just upgraded the Typo3 from 6.2.26 to 7.6.10, but the styles at the front page are all missing. Just the content and data from the DB shown on it. I guess maybe it was the loss of.
So, if there somebody met this question too, share your ideas with me. Looking for your advice, many thanks.
First you should check if your JS/CSS files are present in the source code of your page. If they are, there are two possibilities, imo:
your html is cached but the cache files were deleted/moved. Solution: clean your cache (the best is to clean it from the install tool -> "Important actions")
Your baseURL/absRefPrefix is broken. I would advice to use config.absRefPrefix instead of baseURL (https://docs.typo3.org/typo3cms/TyposcriptReference/Setup/Config/Index.html)

drupal 7 create an alias view alias with arguments

I have an url like this:
http://www.mysite.com/myview?arg1=3&arg2=4.
It points to a view.
I would like , for a specific compination of arguments, a shorter url alias
something like http://www.mysite.com/myalias that point to the same page.
I did try to add an url alias on drupal cms by here admin/config/search/path/add or by htaccess,
but I think I think to do that I need the "real" url of the view (the one that doesn't use Path auto, I guess)
Does someone know how to retrieve it?
or anyway does anyone know how to solve this issue?
thanks a lot!
I think this module helps you: https://drupal.org/project/views_url_path_arguments
It has not a final version, but I think you might find it useful.
Regards.

Can I check for modifications on a different path to the one that is checked out?

I have a project with a sourcecontrol block which has a trunk url value.
I also use intervalTrigger with modification exists property.
I'd like to only build if there are modifications in a sub path of the trunk url, anyone know how I might do that?
Please check the following post, I think it's related:
how to customize buildCondition="IfModificationExists" on CruiseControlNet build?
and there's the filtered source control block which should do what you need:
http://cruisecontrolnet.org/projects/ccnet/wiki/Filtered

How can I create a command line definition for a public code module without cloning it?

Specifically, I want to define WBT_USEAUTOLOGON for $(_PUBLICROOT)\RDP\OAK\UIT\TSCONWIZ
This would get the functionality I require without having to clone the module(s).
I expect I can use a trick like this to get around it, but I'd prefer an even more elegant way.
Thanks.
It turns out there isn't a better way to achieve this. I ended up cloning only the files which make use of the definition and adding the definition to the CDEFINES in the sources files of TSCONWIZ and TSCONMAN.
if you want to do a minimal clone, see my question's link to Bruce's blog for details.

Resources