Creating directory page from single source for multiple sub directories (Doxygen) - doxygen

For my doxygen project, I have setup the program such that every directory in a large, multilevel project is doxygenized while linking itself to its subdirectories by way of tagfiles.
Because the files tab does not account for this nested tagging method, I decided to use an external File Tree plugin for jquery that dynamically loads the subdirectory tree dynamically via PHP. I have the code setup in external/directories.txt with standard page comments so that every subdirectory doxygen uses the same external folder as an input.
However, when I attempt to create a page called Directory with the name of directory.html, it no longer generates the page after a few doxygen runs through subdirectories. When I changed the name to directory_tree, it begins to generate again for some time until it exhausts most subdirectories. Is there any way to have pages with the same name on a per directory basis even when tagfiles are used? Thanks.
Edit: My original post is extremely confusing, so I'm clarifying it here.
I have a generic file called directories.txt in a folder called input that looks like this:
/**
#page directory Directories
<h2>Click on text to go to directory, Click on tab to see subdirectories</h2>
<div id="fileTree" class="demo"></div>
*/
The idea is that every time i run doxygen on a directory, I would pull from this generic file to create a page called directories since the fileTree is a generic template to create a directory map for all subdirectories underneath the directory. However, because doxygen does not allow for the same named pages for linked projects via tagfiles, I can't generate a file called directory.html for every directory automatically. Is there a work around for this?

Related

Hugo deploy and delete not necessary files

I'm developing a new Hugo site and in this case I thought to create also a template so.I can use for future site.
Well in the template there are tons of vendor files and library because depending of the pages that the site will implement these library will be used. The problem is on the deploy. For example I use Line icons library that has a lot of .png files. (For example 200 files).
Well in the template I put all the files but could happen that in the site that implement this template I use only five icons. Is there a way that look around the final HTML and the usage of the icons and delete in the public folder the not necessary files?
Not directly.
You would need to add an utility script to your template, in order for any user implementing said template to be able to call this script on demand.
That script should then be able to:
analyze the HTML files generated in public_html
cleanup the icons accordingly

How can we make a nested directory in resource folder to put the xmls with same name?

How can we make a nested directory in resource folder to put the xmls with same name for different folders.And how we can read it using path in iphone app programatically?
Actually i want to make like resource>a>b>some.xml
again in resource like resource>f>g>some.xml
and so on...how ever both xml is containing different data in it.and also tell me the way how we can read it in iphone application.
You cannot use the same filename, even if they resides in different folders.
Instead, as a workaround, you can name the files like:
a_b_some.xml
f_g_some.xml
you can create a folder structure on your system and then directly add the folder to your XCode Project under resources by drag-drop.
this folder must display in BLUE color (physical grouping in folder on disk) rather than YELLOW (logical grouping in project only) just like native folders on mac. like this you can put same file in different folder hierarchy without any problems.
you need to create a absolute path to your file whenever you want its access your file [NSBundle pathForResource:] will not work in this case as it does not have access to your custom folder hierarchy.
best of luck.

How to create Eclipse EFS resources on the fly in a content provider?

I like to write a plugin for Eclipse, which allows to work with archive files as with normal file directories. For instance, if there is a zip file inside a project, the user should be able to view the contents of the zip file just by opening the zip folder. The user should be able e.g., to read text files in that archive.
I already created an EFS wrapper arround a particular archive format. Also, I created a new content-type for this archive format. I have a navigatorContent which is triggered on the content-type. In the content provider, currently I provide objects of type IFileStore. AFAIK there isn't any nice label provider shipped with eclipse for this types so I have to implement it on my own (there is one which is declared as private). However, this seems to be rather huge code duplication effort. What I therefore like to do is not to return IFileStore but IFile or IFolder instead so that the normal project explorer content provider can do its job. Is it possible at all to do something like this? If so, how can this practical be achieved?
Call IFolder.createLink() to create a new resource referencing a folder on your custom filesystem.
http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2FresAdv_efs_resources.htm
This will create a new folder in your project, containing all files from ZIP archive. The problem, however is, that you will need to put it into an existing container, polluting resource tree.
Implementing ILabelProvider is not a huge effort at all, especially when compared to IFile or IFolder. If you extend BaseLabelprobivider you only need to implement 2 methods: getText() and getImage().

sitecore package 6.2 quick look at content

I know that you can create an xml file detailing the contents when you create a package, but is there an easy way to determine what is in a package when it is just a zip file sitting on a file server or something?
This is in version 6.2.
Yes you can. Open the Package Designer on the server where the zip is. In the New menu click the dropdown and select "From Existing." From here pick the package and it will open in the designer.
Here's a blog post visually showing you the idea: Inspecting Sitecore Packages Before You Install Them
You can open a package with any archive editor (for instance, 7zip). The main ZIP contains another ZIP, called package.zip. The package.zip in its turn contains a number of folder. The most interesting to you are probably:
files
items
security
The contents of /files folder corresponds to the file system structure under the website root. For instance:
/App_Config/Include/my.config
/bin/my.dll
/xsl/my.xsl
The contents of the /items folder is a directory structure. The path to an XML representation of each item starts with the folder named like the database holding the item, then down the path of the item in the content tree (starting from /sitecore), then the ID of the item, next the language, and finally the version. For instance:
\items\core\sitecore\layout\Layouts\my layout{GUID-GOES-HERE}\en\1\xml
"xml" is the name of the XML file containing the item data.
The contents of /security folder is simpler:
\security\roles\sitecore\My Power Users
There are other folders inside the package.zip, but those primarily hold the metadata of the package, like readme, license, etc.
I suppose it's a superfluous warning, but still: don't try to edit anything there. It makes sense for a quick look only to make sure something is or is not in the package.
Hope this helps.

Trying to get along with Interwoven

I am to create a new design (CSS & HTML) for a web site which is created using Interwoven ContentCenter Professional.
Now, I can see the existing files in CMS (Interwoven) but, I can't make changes. My changes are displayed only when I'm in edit mode. Nothing in the live page. I tried to submit, create editions of files but still no good.
How should I create or edit pages in Interwoven CMS?
Thanks.
If you're talking about generic pages, then once you are finished you have to click on the Generate option, then choose a directory and click Finish. Last thing you should do is to choose yeswhen it asks you to Re-generate the page.
What you are trying to do is just creating a new file, not generating a file from TeamSite's Formpublisher. It is just like if you are in Windows Explorer and creating a new file. In order to generate a file from a form entry, you need to be in the templatedata directory, ex: /default/main/branch1/WORKAREA/wa1/templatedata/category/type(on unix) or Y:/default/main/branch1/WORKAREA/wa1/templatedata/category/type (on Windows). There should be a file call datacapture.cfg there. There is another directory called data under the above path which stores your data content record (dcr) that are created from the form. This is the file that you can use to generate which will use the (tpl) file under the presentation directory.