Difference between .manifest vs .mf files - manifest

What is the difference between .manifest files and .mf files and is there
any relation between .xml files and .manifest files?
Please explain with an example rather than posting links to different websites.

Related

Webpack scan html templates for assets and process them

In my project I use Webpack mainly for bundling .js and .css files.
Main question is about images. When images are used in .css files Webpack process them and exports to /dist folder. Which is fine, and works like a charm.
What I want to accomplish is pretty same story but with .html files. But! Html files are in different location then my wepack-app.
-/root
--/design
-----/src
--------/js
--------/css
--------/images
--------/...
-----/dist
--/templates
--/...
Is it possible to e.g pass additional path to scan for assets?
I don't want to produce new html. Just check which assets are used in html files from root/design/src/images then process them (same as from css files) and copy to /dist.
You can add a new entry point (a js file) that will require all the html files that you want to be processed.
You will need to install html-loader in order to allow webpack to "understand" html files.

Gitignore generated pdf but not all pdf

In my project we have certain markdownfiles which are used to generate pdf and html with the same filename (just different extensions). I would like to gitignore those pdf files not other pdf files (which are not generated).
I know that I could manually unignore those files one by one, also I know I could designate a folder to be unignored. But I was looking for some kind of a pattern by which I could ignore the generated files, that would by itself ensure that the non-generated files are not ignored.
Generate it to specific folder/subfolder and ignore this folder by gitignore specification.
It is most simple and efective solution.
If you are opened to naming these generated pdf files with a slightly different extension such as .gen.pdf instead of .pdf, this would give you the opportunity to differentiate these files with a pattern:
*.gen.pdf
which will ignore your .gen.pdf files and not the .pdf files while keeping all your files in the same directory.
gitignore rules can't handle such a complex rule for which a file would be ignored only if another file with the same name but not the same extension exists.
If renaming your files is not an option, then you could also add an extra step in the script used to generate these .pdf files, which would simply append the name of the generated .pdf to the .gitignore.
If you have a naming convention for your files that can be used to ignore them. If the filenames does not follow a pattern, you could do it as step pointed in his answer, save the pdf files to a specific folder and just ignore that folder in your .gitignore file.

Use of zip files as Themes in Resource files

I have this bulk load of html, js, css, less files including zip files (themes) to be placed in Resource file in Lotus Notes. Will it be able to view get the zip files? There are so many files in the themes folder and it's going beyond the allowable file path so I wanted it to be placed in zip file.
If you put a zip file in resources, then it will be served as a zip to browsers. So that's not the solution. You need to unzip it and add all files.
You can also put the unzipped files in the default HTML folder on the Domino server without adding them to database resources. On Linux, it's usually /local/notesdata/domino/html/ and on Windows C:\data\domino\html.

How do i merge multiple files together for a website?

I have a folder containing multiple files that compose of my website, but all different extensions, meaning that in order to access my website on another computer, the entire folder is needed(I might be wrong on this point though). This folder contains files that are jpeg, html, css, and png, and my website is written in html and css containing images of png and jpeg extension.
How do I merge multiple files together for a website?
To make your website publicly available, you need to upload it to a server.
It is important to understand how a client (like a browser) and a server interact:
client server
request for index.html ----------------------------->
<------------------------------ ok, here is index.html
reading index.html file
request styles.css --------------------------------->
<------------------------------ ok, here is styles.css
request image.jpg ---------------------------------->
<------------------------------- ok, here is image.jpg
So now that you can see that loading a website is a back-in-forth process, you can understand that the server needs each of these files.
So to answer your question, you just need to upload the entire folder to whichever host so that people who visit your site can have images and css.
Some options for free hosting are:
BitBalloon (easy, drag and drop folder)
Netlify (easy, drag and drop folder)
GitHub Pages (a bit harder)

How to make doxygen copy a folder without changes into generated HTML docs?

I have a folder with bla.html file and some assets (*.png and *.json) it it.
I want doxygen to copy it into HTML documentation root.
How to make it do such thing in doxygen configuration file (not using external script)?
Upon request:
How about (from the documentation / Doxyfile):
HTML_EXTRA_FILES The HTML_EXTRA_FILES tag can be used to specify one
or more extra images or other source files which should be copied to
the HTML output directory. Note that these files will be copied to the
base HTML output directory. Use the $relpath^ marker in the
HTML_HEADER and/or HTML_FOOTER files to load these files. In the
HTML_STYLESHEET file, use the file name only. Also note that the files
will be copied as-is; there are no commands or markers available. This
tag requires that the tag GENERATE_HTML is set to YES.
The full doxygen documentation can be found at : http://doxygen.nl/manual/index.html and the referred part at: http://doxygen.nl/manual/config.html#cfg_html_extra_files