StorytellerDocGen.Topics.Topic.ParseFile C# (CSharp) Method

ParseFile() public method

public ParseFile ( ) : void
return void
        public void ParseFile()
        {
            Debug.WriteLine("Parsing topic file " + File.ToFullPath());


            var comments = findComments(File).ToArray();

            applyExplicitTitle(comments, this);
            applyExplicitUrlSegment(comments, this);

            if (UrlSegment == null)
            {
                UrlSegment = determineUrlSegmentFromFile(File, IsIndex, IsRoot);
            }

            if (Title.IsEmpty())
            {
                Title = KeyWithinParent.Capitalize().SplitPascalCase();
            }
        }