How to add favicon for mkdocs websites? - favicon

I am developing mkdocs website. Here I need to add favicon for my website. I tried like this but it is not working.
I added site_favicon in mkdocs.yaml file and using readthedocs theme. But it is not working
site_favicon: img/favicon.ico
Can anyone help me with this?

Simply save your new image to img/favicon.ico within your docs_dir. There is no need to change any setting.
Back in version 0.16.0, the site_favicon configuration setting was deprecated. Then in version 0.17.0 is was completely removed. Therefore, your config is doing nothing.
All of that said, you may be running into the bug reported at #1671, which was fixed in #1672 and will be available in the next release. If so, you will need to wait until 1.1 is released.

Related

Backend page load and WYSIWYG issue after updating Magento 2

We have upgraded from 2.3.2 to 2.4.1 but are experiencing an issue in admin where sometimes you have to refresh the page for it to fully load, the menu on the left does not work when you click the icons and the WYSIWYG does not load. Have checked permissions and tried updating a few of the bigger modules to the latest version, but no luck.
Had anyone experienced the same issue?
I have posted console errors here https://ibb.co/R4LWWGD
There might be a module that still uses the old version of tinymce
grep -rnw 'app/code' -e 'tinymce'
If there's nothing in your code namespace, try and grep the whole codebase plus vendor.
The library instanced in the wysiwyg is now mapped to 'tinymce4', see:
vendor/magento/module-ui/view/base/requirejs-config.js
It might not be enough to simply add the 4, depends what the module does if that's the issue. I'll also go ahead on the presumption that you've already re-deployed statics or that you're in developer mode.
For the stylesheet refusal to load, you'll have to whitelist googleapi's domain for the style-src policy, here's the devdocs to it.

Update NetBeans manually

I'm using NetBeans 8.2, I would like to update the plugins, but the firewall at work won't let me, they cannot seem to figure it out at work, so I was wondering how I can update it manually.
I found this link : http://wiki.netbeans.org/FaqDownloadingUCModule
But I cannot select my version there, the only version above 8.1 is dev, but when I select one of the options, I either get to a page I'm not allowed to access or a page mentioning : "This XML file does not appear to have any style information associated with it. The document tree is shown below.
"
Is there another way to get the latest updates ?
Just applying the correct proxy settings should allow you to download directly within netbeans.
Otherwise try downloading the plugins via Plugin Portal.

SASS Not Reloading with Play 2.0

When I make a change to a SASS file Chrome and Safari will reload with the changes after a refresh.
Suddenly they do not. I reverted to a version I know was working and I still have the same issue.
If I clear the browser cache then the changes load.
Therefore Play seems to be doing its job, but how strange that this is not isolated to a single browser.
I am thinking something could be wrong with the ETags or 304's.
Anyone have any idea?
I am using sbt-sass.
Turns out this was the effect of a %20, or space, in the project's folder name.
Removing the space fixed the issue.
A reversion could not fix it since the folder in question was just one step outside of the version control.
If you are having the same problem I would recommend removing spaces in project directory names.

Umbraco - Unable to navigate to sections other than Content after upgrade to 4.5.2

I've tried posting this on the Umbraco forums to no avail. Hoping to find some help here.
I thought I upgraded successfully from 4.0.4.2 to 4.5.2 (on my way to 4.8...) as I received no errors and everything seemed to go smoothly. However, in the backoffice, when I click on any section other than Content, I get redirected back to Content. I can manually reach each section by typing in the name of it after the # sign like: #media, but as soon as I click on a tree item, it redirects me back to Content. Any ideas would be appreciated.
2 thoughts:
You're cacheing some of the old javascript in your browser. Try clearing your cache. IE can be stubborn in this regard; preferably try in Chrome.
Personally, if your site is working under 4.5.2, I wouldn't sweat the back office issue and just continue with the upgrade to 4.8.1. There will likely be new problems to solve there anyway :) and the backoffice issue may go away.
Updating the icons via the following script fixed this problem. Links must run off the appIcon field. Not sure why this is not executed when the database is updated via the 4.5.2 upgrade.
update umbracoApp
set appIcon = '.tray' + appAlias
where appAlias IN ('content','media','users','settings','developer','member')

tinyMCE editor bar not showing up

I'm running Plone 4.1.4 and when I try to edit a text area that used to display the tinyMCE editor all I get is a dialog box listing a dict of "valid elements". I installed the kupu editor and that works fine, but I prefer tinyMCE. Has anyone run in to this issue? Any help would be greatly appreciated.
Browser and version? IE 9 has TinyMCE issues, and requires you to use a development release.
To get around it I had to install a version from github. If you have mr.developer, use:
Products.TinyMCE = git https://github.com/plone/Products.TinyMCE.git branch=GSOC-3.4.x
I have come across this problem as well. In my case I updated Plone 4.1.2 to Plone 4.1.4. The rich widget will not show the TinyMCE editor when the content type has just been added. But after saving the content type and then editing, TinyMCE would appear as expected.
The weird thing is that if you add a new Plone instance and then activate and add your custom AT content type. TinyMCE would render fine on your text fields.
A work around that seemed to solve the issue is to go to portal_setup and on the upgrade tab, select Products.TinyMCE:TinyMCE to upgrade. It would show that the profiles (version 3) on the ZODB and the filesystem are in sync. You can downgrade by clicking on "show old upgrades" and running upgrade profile 1.1->2. This worked for me but please try this on a development instance.
This looks exactly like a problem I had a few days ago. Are you using IE7 or below?
Though I don't know if this is the right way to go (more experienced devs, please advise), this is what I did:
(Assuming a windows box... )
Stopped the plone services
located the file on the filesystem called tiny_mce_init.js (in my case c:\Plone41\eggs\products.tinymce-1.2.10-py2.6.egg\Products\TinyMCE\skins\tinymce\tiny_mce_init.js)
go to line 93 (in my case this contains:
media_strict: false,
remove the comma resulting in media_strict: false
save the file
restart the services
Looks at Thariama's answer here.
I had the same problem (with IE and FF). It looked like the archtype installation was the problem.
After changing the order unter "ZMI->portal_skins->Sunburst Theme" (putting tinymce above archetypes), TinyMCE worked.
(http://plone.293351.n2.nabble.com/Tinymce-not-working-after-custom-type-is-installed-td7566873.html)