Okay. Github didn't show me the full path of the moved files when I was
looking at it. This makes more sense now.


On Mon, Apr 29, 2013 at 9:33 AM, Jens Schumann <notifications@github.com>wrote:

> In _ext/faq.rb:
>
> > @@ -23,18 +23,25 @@ def initialize(faq_dir, assign_to=:faq)
> >        # Returns nothing.
> >        def execute(site)
> >          faq = []
> > -        # Find all the asciidoc files (TODO: could use a better regexp), pull out the relevant information and add it to the faq list
> > -        Dir.glob(File.join(site.dir, @faq_dir, '*.asciidoc')).each do |file|
> > +
> > +        # Find all the asciidoc files
> > +        faq_files = []
> > +        Find.find(File.join(site.dir, @faq_dir)) do |path|
> > +          faq_files << path if path =~ /.*\.asciidoc$/
> > +        end
> > +
> > +        faq_files.each do |file|
>
> The _faq section contains sub directories, to make this more clear. This
> is a recursive search now. Was more helpful if using :order: in file.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/cdi-spec/cdi-spec.org/pull/6/files#r4000798>
> .
>



-- 
Jason Porter
http://en.gravatar.com/lightguardjp